Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

question in LINUX Exercise #4: Creating new users Create two user accounts with the following commands 1. $ su root 2. $ useradd -m -d/home/user1

question in LINUXimage text in transcribed

Exercise #4: Creating new users Create two user accounts with the following commands 1. $ su root 2. $ useradd -m -d/home/user1 user1 3. $ useradd -m -d /home/user2 user2 4. $ passwd user1 (Type in a password when prompted. If you do not type the username after the passwd command, you'll be changing the root password!) 5. $passwd user2 Exercise #5: Creating a shared directory $ mkdir/shared Who is the owner of the/shared directory? What is the group name of the /shared directory? Give full permissions (in octal form) to the /shared directory for all users and record the command you use: Exercise #6: Making changes from user! 1. $ su user1 2. $cd/shared 3. $cat > plan (Input "this is a test" at the blinking cursor. Press ctrl + d when you're done.) 4. Who is the owner of the "plan" file? 5. What is the group name of the "plan" file? 6. $ chmod o-rwx /shared/plan (Make sure that others have no permissions. Verify with Is -I that you achieved the desired result.) Exercise #7: Making changes from user2 Login as user2 and try to modify the file by using the following commands 1. $ su user2 2. $chown user2.user2/shared/plan Record the message

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

More Books

Students also viewed these Databases questions

Question

7. Identify six intercultural communication dialectics.

Answered: 1 week ago