Changes

Jump to: navigation, search

OPS235 Lab 4 - Fedora17

398 bytes added, 22:06, 2 February 2012
no edit summary
# Read the man page for the '''useradd''' command.
# Create a new user account for each of your pod -mates, using their learn account name as a user name. Give each user a password.
# Use the grep command to obtain information for each of the newly created users within the '''/etc/passwd''' file.
#* What is the home directory of each user?
# Read the man page for the '''usermod''' command. Note which options change the user's full name, primary group, supplementary groups, and shell.
# Create a new user account for each of your pod-mates again, but this time for your <code>fedora1</code> VM, using their learn account name as a user name. Give each user a password.# Add each of your new users pod mate accounts to the group <code>ops235</code> (in other words, add ops235 to each user as a supplementary group).
# Examine <code>/etc/group</code>. What has changed?
# Experiment in some of with your pod-mate accounts to share and deny access to same group members by creating directories and files, and use the <code>chmod</code> command. How is the <code>/etc/group</code> related to file sharing permissions?
# Use the <code>usermod</code> command to associate each of your pod mates' full name to their user name, as shown in your text. With each change, examine their entries in the <code>/etc/passwd</code> file. What has changed?
# Be sure to record your observations in your lab notes.
13,420
edits

Navigation menu