13,420
edits
Changes
no edit summary
== Part 2: Adding users ==
#Perform this part in your centos1 VM.
# 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 account for each of your pod mates, using their learn account name as a user name. Give each user a password.
# Be sure to record your observations in your lab notes.
# Add your matrix account user to '''centos3'''.
== Part 3: Managing Groups ==
# Read the man page for the <b><code><span style="color:#3366CC;font-size:1.2em;">groupadd</span></code></b> and <b><code><span style="color:#3366CC;font-size:1.2em;">groupdel</span></code></b> commands.
# Note which option allows you to set the Group ID number (GID) when you create a new group.
== Part 4: Deleting users ==
# Read the man page for the <b><code><span style="color:#3366CC;font-size:1.2em;">userdel</span></code></b> command. Note which option automatically removes the users home directory when that user is deleted.
== Part 5: Modifying users ==
# Read the man page for the usermod command. Note which options change the user's full name, primary group, supplementary groups, and shell.
===Part 1: How do we Manage Runlevels?===
The runlevel command is now deprecated in Fedora, and will likely be deprecated in RHEL/CentOS at some point as well, but for now this is what the industry is using.
<ol>
<livalue="2">Issue the following Linux command:
<ul>
<li><b><code><span style="color:#3366CC;font-size:1.2em;">runlevel</span></code></b></li>
We have seen that maintaining unneeded '''packages can be a security risk''' due to the unnecessary increase in the complexity of your system. Similarly, it is also unnecessarily hazardous, and even more so, to leave unneeded services running. In this investigation, we will learn how to '''control services, and turn off those services that we think are not necessary to help reduce security risks'''.}}
#Perform this part in your centos2 VM.
<ol>
<livalue="2">Issue the following Linux command:
<ul>
<li><b><code><span style="color:#3366CC;font-size:1.2em;">service --status-all</span></code></b></li>