Question: 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 binbash and their home
directory should be homestudentID
Create a group called linuxstu
Set the password Password for the user studentID
Change the PRIMARY GROUP of user studentID to linuxstu Hint: check man page for usermod
Add student and sudo as secondary groups for studentID
Delete the studentID group not the user, just the group
Create a user with guest all lowercase the users login shell should be binbash and their home directory
should be homeguest
The password for user guest should be set to Password and their only group should be guest
Create a file studentIDFile in the home holder of your studentID user
Set permissions on studentIDFile such that user had read, write, execute; group has read and write; everyone
else just read
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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
