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

From CDOT Wiki
Jump to: navigation, search
(Created page with '= OPS335 Assignment 1 = '''Weight''': 10% of the overall grade '''Due Date''': * If your professor is '''Andrew Smith''': 4th of April, 2016 (on Blackboard) * If your professo…')
 
(Assignment Submission)
 
(22 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= OPS335 Assignment 1 =
+
= General Information =
  
 
'''Weight''': 10% of the overall grade
 
'''Weight''': 10% of the overall grade
Line 5: Line 5:
 
'''Due Date''':
 
'''Due Date''':
  
* If your professor is '''Andrew Smith''': 4th of April, 2016 (on Blackboard)
+
* If your professor is '''Andrew Smith''': 13th of April, 2016 (on Blackboard)
* If your professor is '''Murray Saul''': ???, 2016 (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 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 ==
 +
 
 +
* Your file server must be <u>cloned</u> 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 <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:
 +
<pre style="font-size: 14pt;">.
 +
├── private
 +
│  ├── yoursenecaid-1
 +
│  ├── yoursenecaid-2
 +
│  ├── yoursenecaid-3
 +
│  ├── yoursenecaid-4
 +
│  └── yoursenecaid-admin
 +
└── shared
 +
    ├── readonly
 +
    └── readwrite
 +
</pre>
 +
* 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-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 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 <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.
  
  
 
= 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 15: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.