Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Start a new bash shell/terminal session. 2. Create a new user named test, e.g., horntest. Use the option -m to create a home directory.

1. Start a new bash shell/terminal session. 2. Create a new user named test, e.g., horntest. Use the option -m to create a home directory. NB. Youll probably have to escalate privileges to do this: remember sudo? NB. If you create the user incorrectly, learn the userdel command :-) 3. cat /etc/passwd to verify the add. Better: grep test /etc/passwd. Try both to become accustomed to both. 4. Lets add a password for user test: sudo passwd test, e.g., sudo passwd horntest. That was easy! Be sure to remember the password. 5. Create a new group, testgroup. (remember sudo) 6. Make tests primary group the group, testgroup. NB. You might want to man usermod, look at the -g parameter. Last time Ill mention it: sudo. 7. id test to see that the group assignment was successful. 8. Add yourself to testgroup (as a secondary group, leave your primary group alone). 9. Use id: id , e.g., id trang to verify 10. Capture the terminal interactions and paste below:

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions