Question: Under the student user home ( / home / student ) directory, create a directory named studentIDFinalExam 3 . Create a directory within studentIDFinalExam called

Under the student user home (/home/student) directory, create a directory named studentIDFinalExam
3. Create a directory within studentIDFinalExam called PracticalExam
4. Under the student home directory, there is a file called baseFile.txt. Make a copy of this file under the
PracticalExam directory. The copy should be named studentIDExam.txt
5. Create a group called linuxexam
6. Create a user with your studentID (all lowercase) the users login shell should be /bin/bash and their home
directory should be /home/studentID and their primary group should be linuxexam (the default group
studentID should NOT be created in this process). Set a password for the user.
7. Add the user studentID to the student group as a secondary group
8. Make studentID the user owner of the file studentIDExam.txt. Make linuxexam the group of the file
studentIDExam.txt
9. Change permissions on studentIDExam.txt so the user has read, write, and execute, the group has read and
write, and everyone else has only read permission
10. Write a script to meet the following requirements:

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!