Changes

Jump to: navigation, search

OPS235 Lab 4 - CentOS7

6 bytes added, 08:04, 29 April 2015
no edit summary
# Check the contents of the <b><code><span style="color:#3366CC;font-size:1.2em;">/etc/group</span></code></b> file. What do you notice?
# 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 called '''noobie''' for the employee: '''"Really Green"''' . Assign a password for that newly created user.
# Management has indicated that this employee be on on probation for 3 months. Use the '''usermod''' command to set the account for noobie to expire in 3 months from this day as part of the security policy of this organization.
# Add each of your new users to the group ops235 (in other words, add ops235 to each user as a supplementary group).
# Examine <b><code><span style="color:#3366CC;font-size:1.2em;">/etc/group</span></code></b>. What has changed?
# Use the '''usermod''' command to change the full name of the user account '''noobie''' from '''"Really Green"''' to '''"Outstanding Employee"'''. Examine the result of running that command in the <b><code><span style="color:#3366CC;font-size:1.2em;">/etc/passwd</span></code></b> file. What has changed?
# Use the '''usermod''' command to extend the use of their account for 5 years as of today.
# Be sure to record your observations in your lab notes.
13,420
edits

Navigation menu