Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You have received a new batch of distinguished users; their basic information is located in newusers.txt on Schoology. This file contains a colon-separated entry for

You have received a new batch of distinguished users; their basic information is located in newusers.txt on Schoology. This file contains a colon-separated entry for each user: the username, the uid, the GECOS information, and the user's preferred shell.

Please add these users to your Ubuntu machine as local users (you might verify that no name clashes occur before you proceed!). Create home directories on your Ubuntu server with the usual files from /etc/skel (.bash_logout, .bashrc, .profile), but put the home directories in /home/users/USERNAME/, not just /home/USERNAME. Each user should have his own group, where the group id matches the user id. Assign a password to each of these accounts. Try to use the su USERNAME command to verify that each user has the right permissions and owns appropriate directory(s). (50 points)

Similar to the step 2, please add a new user named myadmin. Besides, add this user to the /etc/sudoer file and make sure that this user has root privilege, so this user can use sudo. Try to use the su myadmin command to verify that this user can log in and run some commands which requires root privilege such as $sudo less /etc/shadow. (25 points)

Create a /CIS356/USERNAME/ directory for each user, and make sure that it is owned by the correct user and has the correct group number. (25 points)

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 Principles Programming And Performance

Authors: Patrick O'Neil, Elizabeth O'Neil

2nd Edition

1558605800, 978-1558605800

More Books

Students also viewed these Databases questions

Question

What is supply chain management?

Answered: 1 week ago

Question

How will these issues affect the grade levels you will teach?

Answered: 1 week ago