Difference between revisions of "OPS335 Assignment 2 - 2016-1"
Line 12: | Line 12: | ||
== File server == | == File server == | ||
− | * Your file server must be cloned from the cloning source machine you created in Assignment 1. | + | * Your file server must be <u>cloned</u> from the cloning source machine you created in Assignment 1. |
− | * Call | + | * 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. | + | * 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 with your actual Seneca ID) | + | * Create five <u>new</u> users on the file server, call them '''yoursenecaid-1''', '''yoursenecaid-2''', '''yoursenecaid-3''', '''yoursenecaid-4''', '''yoursenecaid-admin'''. (replace "yoursenecaid" with your <u>actual</u> Seneca ID) |
* Create a directory /documents with the following subdirectories: | * Create a directory /documents with the following subdirectories: | ||
<pre>. | <pre>. | ||
Line 29: | Line 29: | ||
</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 4 have read/write access to their own private directories. | + | ** '''yoursenecaid-1 through yoursenecaid-4''' have '''read/write''' access to their own <u>private</u> directories. |
− | ** yoursenecaid-admin has read/write access to every 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 7 shares (one for each directory above) with permissions as close as possible to the Linux permissions. | * Configure 7 shares (one for each directory above) with permissions as close as possible to the Linux permissions. |
Revision as of 06:21, 31 March 2016
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)
Your tasks
In this assignment you will set up a 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 7 shares (one for each directory above) with permissions as close as possible to the Linux permissions.
Windows Client
- Create the same 5 users in your Windows virtual machine.
- Test to make sure that the correct users have the correct access to the correct shares.
Assignment Submission
Submit the following in Blackboard, Moodle, or whatever your professor specifies in class or "class announements" (For Murray Saul, also send these in an e-mail (subject line: OPS335 assignment1) with the following attachments):
- 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.
Note that if you're unable to show that you've completed all the assignemnt requirements and everything works properly using screenshots - then you're not going to get marks for those parts.