User identifier: UID and GID
General user's password forgot: This is the most easy to solve, please system administrator Help, he will reset your password and do not need to know your old password! Use the passwd command as root to process it.
Root password Forgotten: Restart into the single-player maintenance mode (20th), the system will give the root of the active bash interface, at this time to change the password by passwd, or to mount the root directory after the Live CD to modify the/etc/shadow, will be inside the root of the secret After the Code field is emptied and then restarted, root will log in without a password! Log in and then quickly use the passwd command to set the root password.
Active groups, initial groups
Input groups Display Support Group, the first is a valid group
NEWGRP: Switching of active groups
NEWGRP + Group Name change active Group exit exit restore
Account Management
New and removed:
USERADD-G User name plus group name
Useradd-r User Name Add admin account
Unable to log in need to set password passwd
passwd user name does not add user name to set their own password
Chage Detailed Password parameters
Usermod Account Tuning
Userdel account removed-R along with the home directory delete
Temporarily do not start the account:/etc/shadow account expiration date (eighth field) is set to 0 can be used to make the account unusable
"Find/-user username" After finding the archive one by one delete
Add and remove groups
Groupadd Group Name
Groupmod Group Parameter Tuning
Groupdel Removing a group
GPASSWD: Group Administrator features
GPASSWD GroupName
Account Management-work together
SGID the Seventh chapter
Linux Learning -11-learning Linux account Management