Student ID
You can put any integer number here to generate different exercises for practice. However you must submit the activity associated with your ID number to D2L in order to receive credit for the activity.
File Content
- Take a screenshot of these instructions (including your student number) and the file/folder structure below. If you cannot get everything into the screenshot it is okay, just take your ID number and whatever fits on the screen.
- If you still have these user accounts from last time, just reuse them. Create two user accounts on your system for the username 'X' and 'Y'. The full name and other details are not important, use any password that you will remember.
- Create a third user account with the username 'Z'. The full name of the person and their password is not important.
- Create a folder named 'x, x, and x. Type a few lines of random text into these files. ' in the folder /usr/local/src. Inside this new folder create 3 files named:
- Change the owner of the folder and files from above to belong to user 'X'.
-
Configure permissions so that the following requirements are satisfied:
- User 'Y' can create new files in the folder.
- User 'Y' can view and modify all the files in the folder.
- User 'Z' cannot do a directory listing, view or modify any files in the folder.
-
When you have completed the configuration from the previous step submit screenshots
of the following:
- Run tree showing the permissions, owners and groups of the files.
- Show that the users 'X' and 'Y' can view the contents of the files.
- Show that user 'Z' cannot see anything, even if they know the name of the file.
Submission of Work
The daily exercises in this course are based on proving that you have successfully completed the tasks. This is done by determining which command(s) are necessary and collecting a screenshot of the completed work.
For each day, you will submit a PDF file to D2L by 11:30pm. The format MUST BE PDF! Submitting work in any other format will result in a zero. The dropbox closes promptly at 11:30pm and no late submissions by email will be accepted. No special arrangements will be made for any reason. A small number of daily activities will excused at the end of the semester to handle various problems that might arise.
Questions/parts must be clearly labelled. Work submitted without labels will not receive full marks.