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.
- 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.
- Log into your VM as the user 'X' and create the following files/folders so that the tree command produces the following. Create the files using nano and just put a couple lines of text in each one. The permissions
-
Set permissions so that the following statement are true:
- The file 'X' can be viewed but not modified by user 'Y'.
- The file 'Y' can be viewed and modified by the user 'Y'.
- User 'Y' can perform an "ls" on folder '?'.
- User 'Y' cannot perform an "ls" on folder 'X'.
- User 'Y' cannot create any files in folders '?' or 'X'.
- When the permissions have been set up correctly run the 'tree' command and include the owner and permissions in the output. Take a screenshot.
- For each of the requirements above take a screenshot showing the user attempting the operations and either succeeding or failing.
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.