Task 1 managing users answer the following questions

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: sk 1 – Managing Users Answer the following questions. 1. Consult the man page for the useradd command. Write down the command you would enter to create a account for the staff member Steven Jobs. The user should have a home directory in /home and should belong to the apple group. 2. Write a script called remove_user.sh which manages the deletion of users. The script is to have the following usage $ remove_user.sh [USER] The should tar up and compress the users directory and place it in a safe location – the file should be in the form of USER-DDMMYY.tar.gz where USER is the users, user nam...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online