Changes

Jump to: navigation, search

OPS335 - Assignment 2

74 bytes removed, 21:26, 2 March 2021
m
General Requirements
'''Weight''': 10% of the overall grade
'''Due Date (Fall 2019)''': During '''Week 13 ''' (in classcheck with your professor)
== Detailed Requirements ==
#Create a clone virtual machine called '''asia''' from the '''pangaea''' cloning-source. Refer to the table below for '''address''' and '''hostname'''.
#The Only 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 '''continents.earth.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@continents.earth.ops)
#You are NOT required to encrypt received email messages.
#This machine will relay received email messages for any user account in the '''continents.earth.ops''' domain to '''europe.continents.earth.ops'''.
=== Set-up Mail Delivery Agent / Message Store ('''europe''') ===
#Create a clone virtual machine called '''europe''' from the '''pangaea''' cloning-source. Refer to the table below for '''address''' and '''hostname'''.
#Create a '''regular user''' for this virtual machine using '''your Seneca userID'''.
#The Only 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 '''continents.earth.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).
#This machine will NOT use encryption.
#This machine will use postfix's built-in LDA to store received emails in maildir format in a sub-directory of each users' home directory called '''mailboxes'''.
#Any mail sent to root will be automatically delivered into the mailbox of the '''regular user''' created above.
#Configure your Thunderbird application (installed in Lab 4b) to allow the user to send and receive email messages using the '''asia''' and '''europe''' servers.
#Create a clone virtual machine called '''southamerica''' from the '''pangaea''' cloning-source. Refer to the table below for '''address''' and '''hostname'''.
#Create a '''regular user''' for this virtual machine using '''your Seneca userID'''.
#The Only 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 '''sarmation-yoursenecaid''', '''kaapvaal-yoursenecaid''', and '''gawler-yoursenecaid'''. (replace "yoursenecaid" with your <u>actual</u> Seneca ID)
#Create a directory /staff supercontinents with the following subdirectories:
<pre style="font-size: 14pt;margin-left:30px;">/supercontinents
+-- cratons
+-- gondwana
</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>'''sarmation-yoursenecaid''' and '''kaapvallkaapvaal-yoursenecaid''' have '''read/write''' access to their own <u>private</u> directories.</li><li>'''gawler-yoursenecaid''' has '''read/write''' access to <u>every</u> directory.</li><li>Everyone has '''read''' access to the '''laurasia''' directory (but only the '''gawler''' account has '''write''' access too).</li><li>Everyone can both '''read''' and '''write''' to the '''gondwana''' 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 sarmation, kaapvaal, gawler, laurasia, and gondwana) with permissions as close as possible to the Linux permissions.</li></ol>
=== Set-up Client to Test Samba server ('''southamerica''')===
| style="border: 2px solid black;" |Purpose
|-style="background-color:#66cccc; border: 2px solid black;"
| style="border: 2px solid black;" |'''africa.continents.earth.ops''' (your existing host)
| style=border: 2px solid black;" |External Facing Address:''' DHCP assigned'''<br>Internal Virtual Bridge (virbr1):''' 172.28.105.1'''
| style="border: 2px solid black;" | Your '''host''' machine
|-style="background-color:#66cccc; border: 2px solid black;"
| style="background-color:#66cccc; border: 2px solid black;" | '''pangaea.continents.earth.ops'''
| style="background-color:#66cccc; border: 2px solid black;" | '''172.28.105.100'''
| style="background-color:#66cccc; border: 2px solid black;" |'''Cloning-source''' used to create other servers for other assignments.
|-style="background-color:#66cccc; border: 2px solid black;"
| style="background-color:#66cccc; border: 2px solid black;" | '''australinea.continents.earth.ops'''
| style="background-color:#66cccc; border: 2px solid black;" | ''' 172.28.105.2'''
| style="background-color:#66cccc; border: 2px solid black;" | '''Master''' Name Server
|-style="background-color:#66cccc; border: 2px solid black;"
| style="background-color:#66cccc; border: 2px solid black;" | '''antarctica.continents.earth.ops'''
| style="background-color:#66cccc; border: 2px solid black;" | '''172.28.105.3'''
| style="background-color:#66cccc; border: 2px solid black;" | '''Slave''' Name Server
|- style="background-color:white;"
| style="background-color:#66cccc; border: 2px solid black;" | '''asia.continents.earth.ops'''
| style="background-color:#66cccc; border: 2px solid black;" | '''172.28.105.5'''
| style="background-color:#66cccc; border: 2px solid black;" | '''SMTP''' mail Server
|- style="background-color:white; border: 2px solid black;"
| style="background-color:#66cccc; border: 2px solid black;" | '''europe.continents.earth.ops'''
| style="background-color:#66cccc; border: 2px solid black;" | '''172.28.105.6'''
| style="background-color:#66cccc; border: 2px solid black;" | '''IMAP''' mail Server
|- style="background-color:white;"
| style="background-color:#66cccc; border: 2px solid black;" | '''southamerica.continents.earth.ops'''
| style="background-color:#66cccc; border: 2px solid black;" | '''172.28.105.8'''
| style="background-color:#66cccc; border: 2px solid black;" | '''Samba''' 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>Upload the resulting file to blackboard.
*'''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>
|-
|
:::'''frycooksarmation-yoursenecaid''' and '''grillstationkaapvaal-yoursenecaid''' have '''read/write''' access
| style="text-align:right" | /1
|-
|
:::'''managergawler-yoursenecaid''' has '''read/write''' access to every directory
| style="text-align:right" | /1
|-
|
:::All accounts have '''read''' access to the '''schedulelaurasia''' directory<br>(but only '''manager-yoursenecaid'' has '''write''' access)
| style="text-align:right" | /1
|-
|
:::All accounts can both '''read''' and '''write''' to the '''suggestionsgondwana''' directory.
| style="text-align:right" | /1
|-
|-
|'''Less Deductions (One mark per issue for EACH VM):
:*Not using zone filenames: '''mydb-for-continents.earth.ops''' and '''mydb-for-172.28.105'''
:*'''DOMAIN Name''' NOT Resolved
:*'''VM hostname''' NOT set
572
edits

Navigation menu