2.2 implement identity management Flashcards
useradd command
Used to create an account.
-c{comment}
-d{specifies directory}
-e{set expiration date}
-f{set inactive value}
-g{specify group}
groupadd command
Used to create a group account.
-g{specifies GUID for new group}
userdel command
Deletes a user account.
-r{recursively deletes}
groupdel command
Deletes a group account.
usermod command
modify a user account.
groupmod command
modify a group account.
-g{change GUID}
-n{change group name}
id command
The id command displays basic account information.
who command
shows who is currently logged in.
-b{specify last boot time}
-H{Display Headings}
-q{Display number of users logged in}
w command
The w command displays who is logged in as well as other useful information.
/etc/passwd
/etc/group
/etc/shadow
/etc/profile
/etc/skel
.bash_profile