Changes

Jump to: navigation, search

OPS235 Lab 4 - CentOS7 - SSD

162 bytes added, 22:16, 21 June 2016
no edit summary
# 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>
# Issue the command: <b><code><span style="color:#3366CC;font-size:1.2em;">grep ops235_1 /etc/passwd</span></code></b> to see if that user account was created.
# View the '''/home''' directory to view the contents. Is the user ops235_1's home directory there?<br><br>'''NOTE:''' In some versions of Linux, you may have to issue the -m option with the useradd command in order to create a home directory for that user.<br>
# Issue the following command to create the user called ops235_2: <b><code><span style="color:#3366CC;font-size:1.2em;">useradd -m ops235_2</span></code></b>
# View the '''/home''' directory to verify that the home directory for '''ops235_2''' has been created. What does the -m option do for the useradd command?
13,420
edits

Navigation menu