Design and implement the removeuser.sh script

Assignment Help Operating System
Reference no: EM13328080

Design and implement the removeuser.sh script.

Required script functionality:

  • removeuser.sh -v : prints the script version number and exits
  • removeuser.sh -h : prints help content and exits
  • removeuser.sh <username> : Removes the user account from the system without removing any of the user's files.
  • removeuser.sh -z <username> <archivename> :
    • Disables (locks) the account username
    • Packs all files (not just those in the user's home directory) belonging to <username> into single compressed archive named <archivename>
    • Then, removes the user account

 

Reference no: EM13328080

Questions Cloud

The social welfare function is additive : What is the optimal distribution of income if the social welfare function is additive?
Examine the unique characteristic of technology and internet : Examine the unique characteristics of the technology and the Internet. Evaluate the ways in which these characteristics have changed modern businesses.
How much will be paid for the life insurance policy : A Life Insurance Co. is offering you a policy that will pay you and your heirs $10,000 per year forever, with the first payment coming 25 years from today. If the interest rate is 5%, how much will you pay for the policy
Sam consumes green eggs and ham : 4. Sam consumes green eggs and ham. Ham and green eggs are both normal goods.
Design and implement the removeuser.sh script : Packs all files (not just those in the user's home directory) belonging to into single compressed archive named
Generate the special login script : Design and implement the disableuser.sh script. Generate the special login script that incorporates the quoted message.
Identified three potential market opportunities : The manager of a global opportunities for a U .S. manufacturer, who is considering expanding sales into Europe. Your market research has identified three potential market opportunities:
Explain lithium-silver chromate : Heart pacemakers are often powered by lithium-silver chromate "button" batteries. The overall cell reaction is: 2 Li(s) + Ag2CrO4(s) ? Li2CrO4(s) + 2 Ag(s) The overall cell potential is 3.5V. What is the half-cell potential for the follow half rea..
Design and implement the disableuser.sh script : disableuser.sh -m : Does not disable login (by the operating system), but changes the user's login shell to a script that just writes the quoted message to standard output and then exits.

Reviews

Write a Review

Operating System Questions & Answers

  Fundamental stages of an enterprise system life cycle

Discuss why is this important to the success of the implementation project? Determine the fundamental stages of an enterprise system life cycle?

  Install a wireless lan network in an organization

Discuss and explain reasons that might make it favorable or unfavorable to install a Wireless LAN network in an organization over a traditional wired network.

  Stand alone child process

Forking the child process

  Explain current technologies and issues

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 directly to customers through the internet.

  Question about software and staff training

As was stated before, the corporation X is going to expand its data system. To do this, it is going to choose and buy new hardware and software and retrain workers.

  Implementation of the electronic medical record

Explain how the effectiveness the implementation of the electronic medical record change will be determined once implemented.

  Which page will lru replace

which page will NRU replace?B) which page wil FIFI replace?C) which page will LRU replace?

  Ddos attack on router

Recently had a DDoS attack on border router. Discuss how would you estimate where the attack came from and what would you put in place to save it from happening again?

  Compare and contrast the two varieties of distribute os

Compare and contrast the two varieties of distrubted operating systems discussed in this chapter: a process-based DO/S and an object-based DO/S.

  Traditional sdlc and the proposed higher level sdlc

Describe the differences between the traditional SDLC and the proposed "higher-level" SDLC. How could the higher-level SDLC be applied in your corporation?

  Human centered and user centered approaches

Discuss the differences between the human centered and user centered approaches? Do you consider that human centered approach is more effective?

  How operating system is clearly superior for any application

Consider the advantages and disadvantages of each major operating system that Amy might use on the Web server. If you don't think that one operating system is clearly superior for this application, describe why.

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