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

  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