Difference between revisions of "OPS335 Assignment 2 - 2016-1"

From CDOT Wiki
Jump to: navigation, search
(Assignment Submission)
 
(12 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)
+
* If your professor is '''Murray Saul''': Week 13 (in class evaluation <u>and</u> submission via email)
  
= 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.
+
= 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 ==
 
== File server ==
Line 31: 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 7 shares (one for each directory above) with permissions as close as possible to the Linux permissions.
+
* 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 5 users in your Windows virtual machine.
+
* 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.
 +
  
 
= Assignment Submission =
 
= 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):
+
Refer to the submission requirements depending on your <u>current</u> OPS335 instructor:
 +
 
 +
:'''Andrew Smith:'''
 +
 
 +
:*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'''.
 +
 
 +
:'''Murray Saul:'''
  
# '''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'''.
+
:* 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:<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>
  
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.
+
'''ADDITIONAL NOTES (Applies to <u>both</u> 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.

Latest revision as of 14:28, 31 March 2016

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.
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.