Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a user with your studentID ( all lowercase ) the user s login shell should be / bin / bash and their home directory

Create a user with your studentID (all lowercase) the users login shell should be /bin/bash and their home
directory should be /home/studentID
2. Create a group called linuxstu
3. Set the password Password1 for the user studentID
4. Change the PRIMARY GROUP of user studentID to linuxstu (Hint: check man page for usermod)
5. Add student and sudo as secondary groups for studentID
6. Delete the studentID group (not the user, just the group)
7. Create a user with guest (all lowercase) the users login shell should be /bin/bash and their home directory
should be /home/guest
8. The password for user guest should be set to Password1 and their only group should be guest
9. Create a file studentIDFile in the home holder of your studentID user
10. Set permissions on studentIDFile such that user had read, write, execute; group has read and write; everyone
else just read
11. Change user and group ownership for studentIDFile such that student is the user and sudo is the group

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

Beginning Microsoft SQL Server 2012 Programming

Authors: Paul Atkinson, Robert Vieira

1st Edition

1118102282, 9781118102282

Students also viewed these Databases questions

Question

Recognize the various roles and competencies of an HRD professional

Answered: 1 week ago