Write a script that will perform the following tasks: Prompt the system administrator….solved

$20.00

Category:

Description

5/5 - (4 votes)

Write a script that will perform the following tasks:
• Prompt the system administrator for all valid input parameters
• Generate a menu to ask which task is needed to be performed
• Create a UNIX group
• Drop a UNIX group
• Create a user
• Drop a user
Note that as part of the Create User section, a UNIX group many be identified that does not already exist, so that group will need to be created as part of the process.
A third script that you need to write will kill all of the processes associated with a user. The following are the requirements:
• Prompt the system administrator for the target user name
• List the running processes for that user
• Confirm with the system administrator before killing the processes
• Kill the processes after confirmation