Configuration file
User Information file:/etc/passwd
One line with 7 messages man 5 passwd
Root:x:0:0:root:/root:/bin/bash
User name: Password bit: User uid: Default group GID: Description information: default directory after user login: command interpreter (user is using shell, default is bash)
Password file:/etc/shadow
You can add users to add account password in/etc/passwd add account/etc/shadow directly with VI
User Configuration Files
/etc/login.defs
/etc/deafult/usreadd
Linux users are divided into three types:
Super user "Uid=0 root"
Normal user "UID 500-60000"
Pseudo-user "1-499" pseudo-user is related to system and program services, the pseudo-user cannot log into the system.
----------------------------------------------------------------------------
User groups
Each user belongs to at least one user group
Why each user group includes multiple users
Users of the same user group have permissions shared by this group
-------------------------------------------------------------------------------------
Linux User Management