Write a script for user maintenance
Course:- Operating System
Reference No.:- EM13942994

Assignment Help
Assignment Help >> Operating System

You now need to write a script for user maintenance. 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

It is very important to note with this task that you should only kill processes for a user and his or her running processes; do not arbitrarily kill running daemons.

  • Include a discussion about the difference between user processes and daemons.
    • What are daemons, and what are they used for?
    • What are the consequences of killing a daemon using this script?

Must be APA formated double spaced with references and be original work

Put your comment

Ask Question & Get Answers from Experts
Browse some more (Operating System) Materials
Write the command you used. Can you think of an alternative to that command - Use the vi editor to create a file named lecture05.txt and type descriptions of the commands we
your netlab workstation then ssh to server.cnt1015.local with your college username (the account you used for the quizes).Create a directory called final in your home director
The Baypoint Group requires your help with a presentation for Academic Computing Services, a nationwide company that assists colleges and universities with technology issues.
How much cylinder skew is needed for an oceangate disk operating at 20,000 rpm(new series for the christmas promotions) which has a seek time of 0.5 milliseconds? This disk ha
The following four requests could come in to the operating system as it is running on computer system: Clock in computer has just "ticked", and we require to update seconds co
Cost effectiveness-All organizations have a budget implemented to enhance performance and productivity levels, in which case technological advancements and upgrades are usua
Assume you are network administrator for a new corporation that has ten users and plans to add five more users within a year. The files require to be accessed by all ten users
Determine the hardware to be used and the installation options. How will systems receive IP addresses? How will DNS be accessed by Medals systems? Where will DNS be hosted an