Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task 1 1 0 points Create the users paul, sylvia, and patty. Change the password for paul. Show that the users have been created successfully

Task 110 points
Create the users paul, sylvia, and patty. Change the password for paul.
Show that the users have been created successfully by outputting ONLY the users you have created to a file named users.txt and outputting the content of the file to the terminal screen. You may not type anything manually; you must only use commands.
Make sure that users sylvia and patty change their passwords at the first login.
Create a user named vendor, set vendors permanent password, make sure vendor cannot change it. Set vendor account to expire in 30 days.
Set temporary lock on the vendor account.
Task 210 points
Create the groups admin, manager, and user
Show that the groups have been created successfully by outputting only the groups you have created to a file named groups.txt and outputting the content of the file to the terminal screen. You may not type anything manually; you must only use commands.
Place paul in the admin group | Place sylvia in the manager group | Place patty and vendor in the
user group.
Append the groups.txt so it shows the groups with their users
Task 34 points
From the student users home directory, create a directories called Admin and Backup
From the Admin directory create the Groups and Users directories
Move the groups.txt file to the Groups directory and the users.txt file to the
Users directory
Copy all of the files you just created into the Backup directory and name the copies groups.bak and users.bak
Task 410 points
Make it so the file users.txt is owned by paul and admin
Make it so the file groups.txt is owned by sylvia and manager
Change the file permissions for users.txt so only paul can edit the file using only symbolic codes.
Explain, how would you use symbolic codes, what are they. _______________________________________________________________________________________________________________
Create a file named onboarding.txt in the Admin directory and edit the file in an editor to say echo hello.
Change the permissions in the file so onboarding.txt isexecutable, and all users can read and execute, but the owner have full set of permissions. The primary group doesnt need execute permissions. Use absolute (octal) method.
Explain, how you calculate values, and how you know what value to assign to the each party. ________________________________________________________________________________________________________________________________________________
What does it mean that file is executable? ______________________________________
(Insert your screenshot here.)
Task 56 points
Create links to the directories Groups and Users so they can be accessed from the Roots home directory. What type of the links did you use? Why? Explain what are benefits, and restrictions to use this type of links. ______________________________________________________________________________________________________________________________________
Create link to the file onboarding.txt so admin user can access it from the home directory. What type of the links did you use? Why? Explain what are benefits, and restrictions to use this type of links. ______________________________________________________________________________________________________________________________________
Verify that all links exist, and can be accessed.
Remove an original onboarding.txt file. What happened to the link? Explain. ______________________________________________________________________________________________________________________________________
(Insert your screenshot here.)
Task 610 points
Using vim create a script that will be typing We wish you a Merry Christmas! until stopped. Name it xmas, and make the file executable
Using vim create a script that will be typing Santa Claus is coming to town! until stopped. Name it santa, and make the file executable
Using vim create a script that will be typing All I want for Christmas Is You! until stopped. Name it mariah, and make the file executable
Run these scripts in the background of the shell
Show jobs running for these processes
Display the processIDs of the xmas,santa,mariah
Stop the xmas job
Restart the xmas job
Stop the santa job
Terminate mariah job
Show all currently running processes.
Explain why it is important to be able to view running processes and identify their PID

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_2

Step: 3

blur-text-image_3

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

12th edition

133544613, 978-0133544619

More Books

Students also viewed these Databases questions

Question

How would you describe promotion?

Answered: 1 week ago

Question

How does co-op advertising differ from tactical marketing?

Answered: 1 week ago