Open main menu

CDOT Wiki β

Changes

OPS235 Lab 4 - CentOS7

50 bytes added, 10:07, 6 May 2015
no edit summary
#You will be using your '''c7host''' machine for this section.
#Download, study, and run the following shell script. Issue the command:<br><b><code><span style=" pointer-events:none;cursor:default;color:#3366CC;font-size:1.2em;">wget https://scs.senecac.on.ca/~murray.saul/user-create.bash</span></code></b>
#Try to understand what these Bash Shell scripts do, and then run the script as root. After running the shell script, view the contents of the '''/home''' directory to confirm.
= LAB 4 SIGN-OFF (SHOW INSTRUCTOR) =
{{Admon/important|Time for a new backup!|If you have successfully completed this lab, make a new backup of your virtual machines. Remember to also make a backup of the new second virtual disk drive on ''centos1centos3'' -- you now have two virtual disks on ''centos1centos3'', and therefore two image files, and therefore will need two backup files.}}
'''Arrange proof of the following on the screen:'''
::<ol><li><span style="color:green;font-size:1.5em;">&#x2713;</span> '''centos1''' VM:<ul><li> Account created on '''centos1''' VM.::<span style="color:green;font-size:1.5em;"/li>&#x2713;</spanli> List contents of '''/etc/group''' file (ops235 group) on '''centos1''' VM.::<span style="color:green;font-size:1.5em;"/li>&#x2713;</spanli> List contents of '''/etc/passwd''' file (created accounts) on '''centos1''' VM.::</li></ul><li><span style="color:green;font-size:1.5em;">&#x2713;</span> '''centos2''' VM:<ul><li> Display current run-level status on '''centos2''' VM.::</li></ul></li></li><li><span style="color:green;font-size:1.5em;">&#x2713;</span>'''c7host''' machine<ul><li> Creation of your bash shell script called '''createUsers.bash'''</li></ul></li></ol> 
= Preparing for the Quizzes =
13,420
edits