Changes

Jump to: navigation, search

OPS235 Lab 4 - CentOS7 - SSD

184 bytes added, 19:49, 18 June 2016
no edit summary
'''Perform the following steps:'''
# Launch your c7host and centos1 VMs.
# Open a shell terminal and login as root.
# Look at the <b><code><span style="color:#3366CC;font-size:1.2em;">/etc/passwd</span></code></b> file.
# Make note of the contents of that file.
'''Perform the following steps:'''
#Perform this part Remain in your '''centos1''' VMfor this section.
# Read the man page for the <b><code><span style="color:#3366CC;font-size:1.2em;">useradd</span></code></b> command.
# Create a new user called '''ops235_1''' by issuing the command: <b><code><span style="color:#3366CC;font-size:1.2em;">useradd ops235_1</span></code></b>
'''Perform the following steps:'''
#Use Launch and use your '''centos2''' VM for this part.
<ol>
<li value="2">Use the '''man''' pages to learn about the '''systemctl''' command.</li><li>Issue the following Linux command:
#You will be using your '''c7host''' machine for this section.
#Open a shell terminal, and login as root.
#Change to the '''/root/bin''' directory.
#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.
13,420
edits

Navigation menu