+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
What is the turnaround time of each process for each of the scheduling algorithms in part and what is the waiting time of each process for each of these schedul-ing algorithms
Apple's Mac OS is a major competitor for Windows and many people feel very strongly about choosing one over the other. Locate articles online that discuss the differences betw
A machine has a 32-bit address space and an 4-KB page. Suppose a simple OS just boot up on the machine, running a single process. The process uses 2 memory pages for the text
Write a page fault handler process that can be invoked by the interrupt dispatcher when a page fault occurs. The address space and page number of the missing page are made
COP4610: Introduction to Operating Systems Project: Priority-based Scheduler for Xv6. In this assignment, you will learn how to implement a priority-based scheduler for xv6.
Describe the FFT algorithm based on chirp signal. (4) Write computer code to implement the FFT on chirp signal. (5) Plot the spectrum of the chirp pattern, the results of th
Assuming the following memory accesses on a Direct Mapped cache unit which is defined by a 2-bit offset, index, and tag. Determine the number of hits and misses for the follow
Justify the use of NTFS permissions for the folders / files on the network and explain the top two to three (2-3) reasons this is the most reliable option at the business un