Difference between revisions of "OPS335 Assignment 2 - 2016-1"
(→Assignment Submission) |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 6: | Line 6: | ||
* If your professor is '''Andrew Smith''': 13th of April, 2016 (on Blackboard) | * If your professor is '''Andrew Smith''': 13th of April, 2016 (on Blackboard) | ||
− | * If your professor is '''Murray Saul''': Week 13 (in class <u>and</u> submission via email) | + | * If your professor is '''Murray Saul''': Week 13 (in class evaluation <u>and</u> submission via email) |
Line 32: | Line 32: | ||
</pre> | </pre> | ||
* Set up permissions/ownership on those directories for your Linux users on the file server so that: | * Set up permissions/ownership on those directories for your Linux users on the file server so that: | ||
− | ** '''yoursenecaid-1 through yoursenecaid-4''' have '''read/write''' access to their own <u>private</u> directories. | + | ** '''yoursenecaid-1''' through '''yoursenecaid-4''' have '''read/write''' access to their own <u>private</u> directories. |
** '''yoursenecaid-admin''' has '''read/write''' access to <u>every</u> directory. | ** '''yoursenecaid-admin''' has '''read/write''' access to <u>every</u> directory. | ||
** Everyone has '''read''' access to the '''readonly''' directory (but only the '''admin''' has '''write''' access too). | ** Everyone has '''read''' access to the '''readonly''' directory (but only the '''admin''' has '''write''' access too). | ||
** Everyone can both '''read''' and '''write''' to the '''readwrite''' directory. | ** Everyone can both '''read''' and '''write''' to the '''readwrite''' directory. | ||
− | * Set up five Samba users to mirror your new Linux users. | + | * Set up '''five''' Samba users to mirror your new Linux users. |
− | * Configure | + | * Configure '''seven''' shares (one for each directory above) with permissions as close as possible to the Linux permissions. |
== Windows Client == | == Windows Client == | ||
− | * Create the same | + | * Create the <u>same</u> '''five''' users in your Windows virtual machine as your Samba shares. |
* Test to make sure that the correct users have the correct access to the correct shares. | * Test to make sure that the correct users have the correct access to the correct shares. | ||
Line 48: | Line 48: | ||
= Assignment Submission = | = Assignment Submission = | ||
− | Refer to the submission requirements depending on your current OPS335 instructor: | + | Refer to the submission requirements depending on your <u>current</u> OPS335 instructor: |
:'''Andrew Smith:''' | :'''Andrew Smith:''' | ||
− | :*Submit the following in Blackboard | + | :*Submit the following in Blackboard: |
::*'''Screenshots''' to demonstrate you have accomplished the required tasks for this assignment.<br>This includes: '''configuration files''', '''service statuses''', and '''basic tests of functionality'''.''' NOTE: You MUST take screenshoots of the ENTIRE screen as opposed to only the VM console'''. | ::*'''Screenshots''' to demonstrate you have accomplished the required tasks for this assignment.<br>This includes: '''configuration files''', '''service statuses''', and '''basic tests of functionality'''.''' NOTE: You MUST take screenshoots of the ENTIRE screen as opposed to only the VM console'''. | ||
Line 61: | Line 61: | ||
::*Email sent to '''murray.saul@senecacollege.ca''' (subject: '''OPS335 Assignment2''') with zipped file containing:<ul><li>'''Screenshots''' to demonstrate you have accomplished the required tasks for this assignment.</li><li>'''configuration files'''</li><li>'''service statuses'''</li></ul><br><br> | ::*Email sent to '''murray.saul@senecacollege.ca''' (subject: '''OPS335 Assignment2''') with zipped file containing:<ul><li>'''Screenshots''' to demonstrate you have accomplished the required tasks for this assignment.</li><li>'''configuration files'''</li><li>'''service statuses'''</li></ul><br><br> | ||
− | '''ADDITIONAL NOTES ( | + | '''ADDITIONAL NOTES (Applies to <u>both</u> instructors):''' |
* You MUST take screenshots of the ENTIRE screen as opposed to only the VM console'''. | * You MUST take screenshots of the ENTIRE screen as opposed to only the VM console'''. | ||
* If you are unable to show that you've completed all the assignment requirements and everything works properly using screenshots, you will not receive marks for those sections. | * If you are unable to show that you've completed all the assignment requirements and everything works properly using screenshots, you will not receive marks for those sections. |
Latest revision as of 14:28, 31 March 2016
Contents
General Information
Weight: 10% of the overall grade
Due Date:
- If your professor is Andrew Smith: 13th of April, 2016 (on Blackboard)
- If your professor is Murray Saul: Week 13 (in class evaluation and submission via email)
Assignment Requirements
In this assignment you will set up a Linux file server on a new virtual machine and configure it to be accessible by specific users on a Windows workstation.
File server
- Your file server must be cloned from the cloning source machine you created in Assignment 1.
- Call your file server hostname: file.ops335a1.org and register that in your DNS server (from Assignment 1).
- It will run Samba (automatically on boot) to share files with Windows. You may reuse the Windows installation from the lab or create a new one for the assignment.
- Create five new users on the file server, call them yoursenecaid-1, yoursenecaid-2, yoursenecaid-3, yoursenecaid-4, yoursenecaid-admin. (replace "yoursenecaid" with your actual Seneca ID)
- Create a directory /documents with the following subdirectories:
. ├── private │ ├── yoursenecaid-1 │ ├── yoursenecaid-2 │ ├── yoursenecaid-3 │ ├── yoursenecaid-4 │ └── yoursenecaid-admin └── shared ├── readonly └── readwrite
- Set up permissions/ownership on those directories for your Linux users on the file server so that:
- yoursenecaid-1 through yoursenecaid-4 have read/write access to their own private directories.
- yoursenecaid-admin has read/write access to every directory.
- Everyone has read access to the readonly directory (but only the admin has write access too).
- Everyone can both read and write to the readwrite directory.
- Set up five Samba users to mirror your new Linux users.
- Configure seven shares (one for each directory above) with permissions as close as possible to the Linux permissions.
Windows Client
- Create the same five users in your Windows virtual machine as your Samba shares.
- Test to make sure that the correct users have the correct access to the correct shares.
Assignment Submission
Refer to the submission requirements depending on your current OPS335 instructor:
- Andrew Smith:
- Submit the following in Blackboard:
- Screenshots to demonstrate you have accomplished the required tasks for this assignment.
This includes: configuration files, service statuses, and basic tests of functionality. NOTE: You MUST take screenshoots of the ENTIRE screen as opposed to only the VM console.
- Screenshots to demonstrate you have accomplished the required tasks for this assignment.
- Murray Saul:
- Submission Requirements:
- In class demonstration of Samba share functionality from Windows machine. It is the responsibility of the student to demonstrate all aspects of functionality (i.e. do not ask instructor for assistance or direction).
- Email sent to murray.saul@senecacollege.ca (subject: OPS335 Assignment2) with zipped file containing:
- Screenshots to demonstrate you have accomplished the required tasks for this assignment.
- configuration files
- service statuses
ADDITIONAL NOTES (Applies to both instructors):
- You MUST take screenshots of the ENTIRE screen as opposed to only the VM console.
- If you are unable to show that you've completed all the assignment requirements and everything works properly using screenshots, you will not receive marks for those sections.