Changes

Jump to: navigation, search

OPS335 - Assignment 2

30 bytes removed, 11:16, 29 January 2018
no edit summary
== Purpose ==
In this assignment, you will use the '''335assign virtual network''' and the '''chassis''' cloning-source that you created in assignment 1 (part 1) to create two e-mail servers: a '''Mail Transfer Agent''' called '''jaguar''' and a ''Message Store'' (IMAP) called '''bmw'''. You will also use the '''chassis''' cloning source to create a Samba server called '''basementvolvo'''. In addition to creating those Linux servers, you will also be required to create a virtual machine for an MS Windows operating system to test-out your Samba server. As you perform and submit this assignment, you '''MUST''' run at least the '''porsche''' Master Name server in order to resolve domain names to IP addresses.
== General Requirements ==
Add MX records to the forward lookup zone on your master DNS server so that all incoming mail addressed to the domain is sent to your IMAP server ('''bmw''') first, and the MTA ('''jaguar''') as a fall-back.
=== Set-up a Samba Server ('''basementvolvo''')===
Perform the following steps for this section:
#Create a clone virtual machine called '''basementvolvo''' from the '''foudation''' cloning-source. 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.
<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>'''yoursenecaid-1''' and '''yoursenecaid-2''' have '''read/write''' access to their own <u>private</u> directories.</li><li>'''yoursenecaid-admin''' has '''read/write''' access to <u>every</u> directory.</li><li>Everyone has '''read''' access to the '''readonly''' directory (but only the '''admin''' 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 above) with permissions as close as possible to the Linux permissions.</li></ol>
=== Set-up Windows Client to Test Samba server ('''basementvolvo''')===
Perform the following steps for this section:
=== Network Configuration ===
As you will now have functioning primary and secondary DNS servers, modify your network configuration file for the '''jaguar''', '''bmw''', and '''basementvolvo''' servers specify the correct IPADDR.
=== Table of Virtual Machines / DNS Records ===
| style="background-color:#66cccc;border: 2px solid black;" | '''IMAP''' mail Server
|- style="background-color:white;"
| style="background-color:#66cccc;border: 2px solid black;" | '''basementvolvo.luxury.auto.ops'''
| style="background-color:#66cccc;border: 2px solid black;" | '''172.45.20.9'''
| style="background-color:#66cccc;border: 2px solid black;" | '''Samba''' Server
#Any machine may send smtp traffic to '''jaguar''' and '''bmw'''.
#Only machines in the local network may send IMAP traffic to '''bmw'''.
#Only machines in the local network may access the samba shares on '''basementvolvo'''.
== Assignment Submission ==
::'''Murray Saul's Classes (Sections '''A''' &amp; '''B'''):'''<ol><li>Login as '''root''' on your '''host''' machine.</li><li>Change to the '''/root/bin''' directory.</li><li>Make certain that your '''chassis''', '''porsche''', '''jaguar''', '''bmw''', '''basementvolvo''' and '''client''' virtual machines are running.<li>Issue the command to download a checking script for your assignment to your '''host''' machine: <source>wget http://matrix.senecac.on.ca/~murray.saul/ops335/check-assn2.bash
</source></li><li>Set execute permissions and run the command: '''/root/bin/check-assn2.bash'''<br>(You shell script contents will be mailed to your Seneca email and to your OPS335 instructor's Seneca email. 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.<br><br></li></ol>
*'''Additional Assignment Information:'''<ol type="a"><li>This assignment is to be completed individually. '''Group submissions are not allowed'''.</li><li>You are NOT allowed to use local hostname resolution (i.e. no entries in your '''/etc/hosts''' file).<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>
|-
|
:::E-mails sent from '''jaguar''' and '''basementvolvo''' servers to '''bmw''' server (user@IP_ADDR)
| style="text-align:right" | /1
|-
|
:::E-mails sent from '''jaguar''' and '''basementvolvo''' servers to '''bmw''' server (user@DOMAIN_NAME)
| style="text-align:right" | /1
|-
13,420
edits

Navigation menu