Changes

Jump to: navigation, search

OPS335 - Assignment 2

169 bytes removed, 12:06, 17 July 2019
m
Set-up a Samba Server (mcdonalds): - fixing typo
'''Weight''': 10% of the overall grade
'''Due Date (Winter summer 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.
#Create a '''regular user''' for this virtual machine using '''your Seneca userID'''.
#Any machine within the '''bondrestaurant.villainsfastfood.ops''' domain will be able to route outgoing email through this server.#Any mail sent directly from this machine will use the domain as the sending address (i.e. user@bondrestaurant.villainsfastfood.ops)
#You are NOT required to encrypt received email messages.
#This machine will relay received email messages for any user account in the '''bondrestaurant.villainsfastfood.ops''' domain to '''arbys.bondrestaurant.villainsfastfood.ops'''.
=== Set-up Mail Delivery Agent / Message Store ('''arbys''') ===
#Create a '''regular user''' for this virtual machine using '''your Seneca userID'''.
#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.
#This machine will accept incoming email for any user account in the '''bondrestaurant.villainsfastfood.ops''' domain.
#No other machine in this domain will accept incoming email.
#This machine will be an '''IMAP''' server (i.e. NOT POP3 or LTMP).
#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 '''tarotfrycook-yoursenecaid''', '''octopusgrillstation-yoursenecaid''', and '''spectremanager-yoursenecaid'''. (replace "yoursenecaid" with your <u>actual</u> Seneca ID)#Create a directory /plans staff with the following subdirectories:<pre style="font-size: 14pt;margin-left:30px;">/plansstaff+-- evilstations¦ +-- tarotfry¦ +-- octopusgrill¦ +-- spectreoffice+-- worldemployee +-- conquestschedule +-- dominationsuggestions
</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>'''tarotfrycook-yoursenecaid''' and '''octopusgrillstation-yoursenecaid''' have '''read/write''' access to their own <u>private</u> directories.</li><li>'''spectremanager-yoursenecaid''' has '''read/write''' access to <u>every</u> directory.</li><li>Everyone has '''read''' access to the '''conquestschedule''' directory (but only the '''spectremanager''' has '''write''' access too).</li><li>Everyone can both '''read''' and '''write''' to the '''dominationsuggestions''' directory.</li></ol></li><li>Set up '''three''' Samba users to mirror your new Linux users.</li><li>Configure '''five''' shares (one for each of tarotfry, octopusgrill, spectreoffice, conquestschedule, and dominationsuggestions) with permissions as close as possible to the Linux permissions.</li></ol>
=== Set-up Windows Client to Test Samba server ('''mcdonalds''')===
Perform the following steps for this section:
#Create a MS Windows OS another virtual machine to act as a virtual machineclient to the samba service. You should know by now how to If using windows, you can obtain the MS Windows image from Seneca's MSDN section (trial version good for 30 days). Refer to the table below for '''address''' and '''hostname'''.
#Create a '''regular user''' for this virtual machine using '''your Seneca userID'''.
#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(not applicable on Windows).
#This machine will use the master and slave DNS servers in your domain as the primary and secondary DNS servers. It will not have access to any other DNS servers.
|- style="background-color:white;"
| style="background-color:#66cccc; border: 2px solid black;" | '''subway.restaurant.fastfood.ops'''
| style="background-color:#66cccc; border: 2px solid black;" | ''' 172.1921.15.5'''
| style="background-color:#66cccc; border: 2px solid black;" | '''SMTP''' mail Server
*Download and run a shell script to check your work:
<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:<br><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 Upload the resulting file 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 immediatelyblackboard.
*'''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>
|-
|
:::'''tarotfrycook-yoursenecaid''' and '''octopusgrillstation-yoursenecaid''' have '''read/write''' access
| style="text-align:right" | /1
|-
|
:::'''spectremanager-yoursenecaid''' has '''read/write''' access to every directory
| style="text-align:right" | /1
|-
|
:::All accounts have '''read''' access to the '''conquestschedule''' directory<br>(but only '''spectremanager-yoursenecaid'' has '''write''' access)
| style="text-align:right" | /1
|-
|
:::All accounts can both '''read''' and '''write''' to the '''dominationsuggestions''' directory.
| style="text-align:right" | /1
|-
|-
|'''Less Deductions (One mark per issue for EACH VM):
:*Not using zone filenames: '''mydb-for-bondrestaurant.villainsfastfood.ops''' and '''mydb-for-172.1921.15'''
:*'''DOMAIN Name''' NOT Resolved
:*'''VM hostname''' NOT set
:*firewallfirewalld '''enabled''' / '''running'''
:*iptables '''disabled''' / '''not running'''
:*No '''Yum update'''
932
edits

Navigation menu