Problem

In this project, you create an account in Linux by using the useradd command. (These ste...

In this project, you create an account in Linux by using the useradd command. (These steps also work in most versions of UNIX, other than AIX.) You will need access to the root account to complete this project. To create an account:

1. Access the command line by opening a terminal window.

2. Type su root and press Enter. Provide the root account password, if one is requested.

3. When you set up the account, use your own name or initials, plus the word “test.” For example, type useradd -c “Mac Arthur, practice account” -p practice -n marthurtest, and press Enter. (Note that when you do not specify a unique User ID (UID) number to identify the account, Linux uses the next available number over 500. Also, use all lowercase for the user name.)

4. What is the purpose of typing -n in Step 2?

5. Type more /etc/passwd and press Enter to view the contents of the password file. Do you see the account that you created? (You may need to press the spacebar one or more times to go to the end of the file—you can press q to exit the file contents listing.)

6. Test your new account by typing su plus the account name and pressing Enter.

7. Leave the terminal window open for the next project (or close the window and log off root if you cannot proceed to the next project during this lab session).

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search