+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
Printing a string character can be considered as a critical part of the thread code. For this, implement a mechanism providing mutual exclusion, but without using any synchr
Determine whether or not there are definite characteristics of organizations that are more likely to use cloud computing than other organizations. Provide a rationale for yo
When purchasing your latest cell phone, how much research did you do before you decided to purchase a particular phone? You probably reviewed major features or you may have
A CPU in a router can procedure two million packets/sec. The load offered to it is 1.5 million packets per sec. If the route from source to destination contains ten routers
Assume two hosts A and B are connected via router R. A-R link has infinite bandwidth; A-R link has infinite bandwidth; draw curves for throughput, delay, and power, each as f
This course focuses on new risks, threats, and vulnerabilities associated with the Microsoft Windows operating system. It also emphasizes how to use tools and techniques to
Assume you work for a cosmetics corporation and have been asked to manage a project team that will investigate whether or not your company should start to sell its products di
Suppose that the UNIX system call unlink(¢¢/usr/ast/bin/game3¢¢) were executed in the context. Describe carefully what changes are made in the directory system.