Question: When it comes to administering an operating system, you need to know how to add, change, and remove users and groups. You must also be

When it comes to administering an operating system, you need to know how to add, change, and remove users and groups. You must also be able to create files and folders with set permissions for those users and groups. In this problem set, we will do just that. Let's look at a fictitious company named Big Sky Outdoor Supply. BSOS will have two users that will log into the server. They are:
Roger Clemens - Finance Manager
Nolan Ryan - HR Manager
Each user will need access to their secure home directory and each will need access to a shared area on the machine. Here are the details on the shared area:
Finance Reports Folder (/srv/finance_reports)= Roger should have full permissions but everyone else should only have read permissions
Shared Managers Folder (/srv/managers)= Both Nolan and Roger should have read and write access but no execute, no others will have access to this folder
Let's get started building this setup:
Open a terminal in your Ubuntu Server.
Create a 'finance' and a 'managers' group
Create the users with the following information:
Roger Clemens
Username: rclemens
Password: Password123
Groups: finance, managers
Nolan Ryan
Username: nryan
Password: Password123
Groups: managers
Open the /etc/passwd file in VIM. Using the TealVirt 'Capture Screenshot Package' option, capture a screenshot PDF of the contents of the /etc/passwd file showing both new user accounts. This will be screenshot #1.
Close the file
Open the /etc/group file in VIM. Using the TealVirt 'Capture Screenshot Package' option, capture a screenshot PDF of the contents of the /etc/group file showing both new groups and their membership. This will be screenshot #2.
Close the file.
Create the folders mentioned in the scenario above. Go to the /srv/ directory to create the needed folders.
Set the folder permissions of 'finance' to be:
Group Owner: finance
Group Permissions: read, write execute
Other Permissions: read, execute (to allow browsing)
Set the folder permissions of 'managers' to be:
Group Owner: managers
Group Permissions: read, write, execute
Other Permissions: none
Move out to the /srv directory and perform a long listing (ll) so the permission structures of both directories is visible.
Using the TealVirt 'Capture Screenshot Package' option, capture a screenshot PDF showing the permissions on those two directories. This will be screenshot #3.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!