Changes

Jump to: navigation, search

OPS335 - Assignment 2

674 bytes removed, 23:19, 5 March 2019
m
Set-up a Samba Server (zorin): - clarifying share names
'''Weight''': 10% of the overall grade
'''Due Date(Winter 2019)''': During Week 13 (in class)
== Detailed Requirements ==
#The root user on your host machine must be able to ssh to the root account on each machine without being prompted for a password.
#It will run '''Samba''' (automatically on boot) to share files with machines in this network.
#Create three <u>new</u> users on the Samba file server, call them '''tarot-yoursenecaid-1''', '''octopus-yoursenecaid-2''', and '''spectre-yoursenecaid-admin'''. (replace "yoursenecaid" with your <u>actual</u> Seneca ID)#Create a directory /documents plans with the following subdirectories:<pre style="font-size: 14pt;margin-left:30px;">/documentsplans+-- privateevil¦ +-- yoursenecaid-1tarot¦ +-- yoursenecaid-2octopus¦ +-- yoursenecaid-adminspectre+-- sharedworld +-- readonlyconquest +-- readwritedomination
</pre>
<ol><li value="6">Set up permissions/ownership on those directories for your Linux users on the file server so that:<ol type="a"><li>'''tarot-yoursenecaid-1''' and '''octopus-yoursenecaid-2''' have '''read/write''' access to their own <u>private</u> directories.</li><li>'''spectre-yoursenecaid-admin''' has '''read/write''' access to <u>every</u> directory.</li><li>Everyone has '''read''' access to the '''readonlyconquest''' directory (but only the '''adminspectre''' has '''write''' access too).</li><li>Everyone can both '''read''' and '''write''' to the '''readwrite''' directory.</li></ol></li><li>Set up '''three''' Samba users to mirror your new Linux users.</li><li>Configure '''five''' shares (one for each directory aboveof tarot, octopus, spectre, conquest, and domination) with permissions as close as possible to the Linux permissions.</li></ol>
=== Set-up Windows Client to Test Samba server ('''zorin''')===
*'''Demonstrate working assignment to your instructor in class:'''<ol type="a"><li>You need to run their full backup shell script to backup all of your VMs (like you did in Assignment 1 - Part 2.</li><li>Students need to demonstrate their assignment functionality to their professor during a lab period<br>(like you would for any lab for "sign-off").</li><li>Students are required to prepare everything ahead of time so that you can quickly demonstrate to your instructor that all required parts of your assignment are working.</li><li>Do not proceed to the next step until you have demonstrated your assignment to your instructor to check for errors that may cause problems when running the checking script.<br><br></li></ol>
*Download and run a shell script to check your work (Depending on your OPS335 Instructor):  ::'''Peter Callaghan's Classes''' (Section '''D'''):<ul><li>Refer to blackboard for instructions on how to submit this assignment.</li></ul>  ::'''Murray Saul, Ryan Lockhart-Thompson and Colin Yip''':<ol><li>Login as '''root''' on your '''host''' machine.</li><li>Change to the '''/root/bin''' directory.</li><li>Make certain that your '''cloning-source VM is running'''.</li><li>Make certain that the mailx command has been installed. If not, issue the following command to install e-mail on your '''host''' machine:<source>yum install mailx </source><li>Issue the command to download a checking script for your assignment to your '''host''' machine:<br><br>'''Murray Saul's classes (section A):''' &nbsp; &nbsp; <span style="font-family:courier;font-size:1.5em;color:#4d4dff">wget https://matrix.senecacollege.ca/~murray.saul/ops335/check-assn2-murray-saul.bash </span><br><br>'''Ryan Lockhart-Thompons's classes (Section B):''': &nbsp; &nbsp; <span style="font-family:courier;font-size:1.5em;color:#4d4dff"> wget https://matrix.senecacollege.ca/~murray.saul/ops335/check-assn2-ryan.bash</span><br><br>'''Colin Yip's classes (Sections C, E, and F):''': &nbsp; &nbsp; <span style="font-family:courier;font-size:1.5em;color:#4d4dff"> wget https://scs.senecac.on.ca/~colin.yip/2187/check-assn2-colin.bash</span><br><br>Set execute permissions and run the shell script.<br>(Your shell script contents will be mailed to your Seneca email and to your OPS335 instructor's Seneca email.<br><br>If you do '''NOT''' receive an e-mail message in your Seneca email account, then there is a problem, and you '''MUST''' rerun or contact your OPS335 instructor immediately.
<ol><li>Login as '''root''' on your '''host''' machine.</li><li>Change to the '''/root/bin''' directory.</li><li>Make certain that your '''assignment VMs are running'''.</li><li>Make certain that the mailx command has been installed. If not, issue the following command to install e-mail on your '''host''' machine:<source>yum install mailx </source><li>Issue the command to download a checking script for your assignment to your '''host''' machine:<span style="font-family:courier;font-size:1.5em;color:#4d4dff
">wget https://matrix.senecacollege.ca/~peter.callaghan/files/OPS335/check-assn2.bash</span><br><br>Set execute permissions and run the shell script.<br>(Your shell script contents will be mailed to your OPS335 instructor's Seneca email, and a confirmation message will be emailed to you.<br><br>If you do '''NOT''' receive an e-mail message in your Seneca email account, then there is a problem, and you '''MUST''' rerun or contact your OPS335 instructor immediately.
*'''Additional Assignment Information:'''<ol type="a"><li>This assignment is to be completed individually. '''Group submissions are not allowed'''.</li><li>Test your machine to make sure it works. If a machine is not accessible (e.g. will not boot, can not be accessed through ssh from your host, etc.), or is otherwise non-functional, you may be told to '''resubmit'''.</li><li>'''Late submissions are a subject to a penalty of 10% per day'''.</li><ol>
|-
| colspan="2" |
::'''Samba Server Access via Windows OSclient:'''
|-
|
:::'''tarot-yoursenecaid-1''' and '''octopus-yoursenecaid-2''' has have '''read/write''' access
| style="text-align:right" | /1
|-
|
:::'''spectre-yoursenecaid-admin''' has '''read/write''' access to every directory
| style="text-align:right" | /1
|-
|
:::All accounts have '''read''' access to the '''read-onlyconquest''' directory<br>(but only '''spectre-yoursenecaid-admin'' has '''write''' access)
| style="text-align:right" | /1
|-
|
:::All accounts can both '''read''' and '''write''' to the '''readwritedomination''' directory.
| style="text-align:right" | /1
|-
932
edits

Navigation menu