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 homestudent directory, create a directory named studentIDFinalExam
Create a directory within studentIDFinalExam called PracticalExam
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
Create a group called linuxexam
Create a user with your studentID all lowercase the users login shell should be binbash and their home
directory should be homestudentID and their primary group should be linuxexam the default group
studentID should NOT be created in this process Set a password for the user.
Add the user studentID to the student group as a secondary group
Make studentID the user owner of the file studentIDExam.txt Make linuxexam the group of the file
studentIDExam.txt
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
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
