572
edits
Changes
→Part 2: Adding, Removing, and Modifying Users
# Be sure to record your observations in your lab notes.
#Issue the man pages for the '''useradd''' command. Explain the purpose of using the '''-e''' option for the ''useradd'' command.
#Issue the following command: <b><code><span style="color:#3366CC;font-size:1.2em;">chage -E 20182019-12-31 ops235_1</span></code></b>
#Issue the following command: <b><code><span style="color:#3366CC;font-size:1.2em;">usermod -c "New Name" ops235_2</span></code></b>.
#View ops235_2's account information in the '''/etc/passwd''' file. What do you notice is different?
|}
=== Part 3: Managing Groups ===
In this section, we will learn how to create, remove and modify groups in our Linux VM. You learned in ULI101 how to change permissions with the '''chmod''' command, but you didn't have admin privileges to '''create groups''' to allow directory and regular file sharing. Since you now have admin privileges with your VM, you can now create groups, and add users to this group to allow file-sharing among users.