Question
PLEASE HELP! I NEED TO KNOW EACH COMMAND PRECISLY STEP BY STEP TO USE! I KEEP TRYING AND FAILING!! WE ARE USING NETLAB FOR THIS
PLEASE HELP! I NEED TO KNOW EACH COMMAND PRECISLY STEP BY STEP TO USE! I KEEP TRYING AND FAILING!! WE ARE USING NETLAB FOR THIS LAB EXAM.. IM DOING SOMETHING WRONG! THIS IS A INTRODUCTION TO LINUX COLLEGE COURSE. I CANT FAIL THIS FINAL OR I WILL LOOSE MY HONORS PLEASE HELP ME I NEED HELP IN GREAT DETAIL TO SEE WHERE I AM DOING WRONG! THANK YOU! THIS IS DUE ON DECEMBER 17TH.
You have been hired by a prestigious law firm as a Red Hat administrator. The law firm is currently migrating its old way of managing office workflows to digital process. For the law firm to accomplish this, they need you to complete the following tasks.
Task 1 10 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 2 10 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 3 4 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 4 10 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 5 6 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 6 10 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 and status?
______________________________________________________________________________
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started