Write a script for user maintenance

Assignment Help Operating System
Reference no: EM13942994

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

Reference no: EM13942994

Questions Cloud

Determine the most productive way of deploying capital : There are many different scenarios that we have to determine the most productive way of deploying capital, such as: buying versus leasing a car, buying insurance whole life versus term, and of course buying versus renting a home.
What would be the cost of equity from new common stock : Weaver Chocolate Co. expects to earn $3.50 per share the next year, its expected dividend payout ratio is 75%, its expected constant dividend groth rate is 6.0%, and its common stock currently sells for $32.50 per share. New stock can be sold to the ..
What is the year two cash flows : Trinadad Software is considering a new project whose data are shown below. The equipment that would be used has a 3-year tax life and the allowed depreciation rates, (MACRES) for such a property are 33%, 15%, and 7% for years 1-4. Revenues and other ..
How much can you withdraw each year in your retirement : You are planning your retirement in 10 years. You currently have $172,000 in a bond account and $612,000 in a stock account. You plan to add $6,800 per year at the end of each of the next 10 years to your bond account. How much can you withdraw each ..
Write a script for user maintenance : 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
Used to improve the firms cash conversion cycle : Which of the following methods can be used to improve the firm's cash conversion cycle? a) decrease the firm's inventory conversion cycle. b) increase the firm's receivables collection period. c) decrease the firm's payables deferral period.
Briefly explain what a credit default swap : Briefly explain what a credit default swap is and its role in the 2008 AIG bailout. Briefly explain the following Greeks: Delta, Theta, Gamma, Vega, Rho.
What the underlying asset is-strike price-time to expiration : Suppose you are managing a stock portfolio that is currently valued at $2,000,000. You expect the stock market will be bullish in the next 6 months. How would you hedge against your portfolio value dropping below $1.8M in 6 months? Be specific with y..
As the beta of a stock goes up its return goes down : Financial markets on the whole are probably much more efficient than real asset markets. Mutual funds managed by professional money managers consistently outperform index mutual funds. In corporate insiders can beat the market this is evidence that t..

Reviews

Write a Review

Operating System Questions & Answers

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  Stand alone child process

Forking the child process

  Write a multi-threaded program

Write a multi-threaded program to solve producer and consumer problem

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Threads

Explain a complication that concurrent processing adds to an operating system.

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd