+1-415-670-9189
info@expertsmind.com
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
 
Minimize


Ask Question & Get Answers from Experts
Browse some more (Operating System) Materials
CIS 240 - What command would you use to remove job number 5 from your default print queue and what is the absolute pathname of the file which defines aliases available to ALL
Assuming fetches to main memory are started in parallel with look-ups in cache, calculate the effective (average) access time of this system.
Go to the Biztech's Website to read the article titled "How to Choose the Right Virtual Disk Format". Determine one advantage and one disadvantage of using a dynamic image typ
Alfred requests that Calvin accept the first body, Calvin agrees, and the first body arrives. Calvin starts welding it and promises Alfred to notify him when it is ready for
Prepare a list showing all tasks and their durations. Analyze the fact situation carefully to determine which tasks are concurrent and which ones are dependent on other tasks.
A typist is entering text on a keyboard at the rate of 30 words per minute. If each word is 6 characters long on average, how many bits per second are being sent to main memor
State the purpose of each of three I/O forms including which file descriptor is used for each one. Provide your own redirection command syntax example as well as description w
Modify MortgageDisplayGui.java to try and catch for this MortgageInputException and upon error, report the Error to the user via a JoptionPane using the ERROR_MESSAGE and DE