Answered step by step
Verified Expert Solution
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 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
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