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 /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

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 Databases Questions!