Open main menu

CDOT Wiki β

Changes

OPS235 Lab 4 - CentOS7 - SSD

2 bytes added, 12:48, 13 June 2016
no edit summary
# Recreate the new user (with home directories automatically created) for '''ops235_1'''.
# Use the '''passwd''' command to set the password for the user '''ops235_1'''.
 # View the <u>contents</u> for '''ops235_1's ''' home directory and note the files. 
# Look at the man page for '''/etc/shadow''' using the command: <b><code><span style="color:#3366CC;font-size:1.2em;">man 5 shadow</span></code></b>
# Create a new file in the /etc/skel directory with the following command: <b><code><span style="color:#3366CC;font-size:1.2em;">touch /etc/skel/foo</span></code></b>
# Recreate the new user (with home directories automatically created) for '''ops235_2'''.
 
# Set the password for the user '''ops235_2'''.
 
# View the <u>contents</u> for ops235_2's home directory and note the files. What do you notice that is different. What do you think is the purpose of the '''/etc/skel''' directory?
# Be sure to record your observations in your lab notes.
13,420
edits