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
Consider providing a scenario to better illustrate the challenge. Explain the operating system innovation you have come up with. Describe how this innovation will resolve the
Assume a GPU architecture that contains 10 SIMD processors. Each SIMD instruction has a width of 32 and each SIMD processor contains 8 lanes for single-precision arithmetic
A Borg Unimatrix has 40-bit virtual addresses and 32-bit physical addresses. Pages are 32 KB in size. How many entries are needed for the page table? Give all formulas, step
Give a solution using Monitor that is starvation-free. What would be value of semaphore before entering into Critical Section and after leaving it.
Describe at least one possible effect that multithreading could have on event-driven programming when you are either developing or using a computer program. Support your res
In a detailed paper, describe what your OS will do, how you will design it and what features will be present. Do not generalize, make this a very specific with diagrams and
In this assignment you will implement a distributed system facility based on Client-Server programming -  The client and server processes will be on different machines. In thi
Given multi-network access, it's not unusual for users to have multiple user identifications and passwords. How would you manage these multi-password situations? Describe both