I. Viewing user names
cat/etc/passwd
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/8B/18/wKiom1hENn2RzaKsAABFHZWv8k8877.png-wh_500x0-wm_3 -wmp_4-s_3401578505.png "title=" 44.png "alt=" Wkiom1henn2rzaksaabfhzwv8k8877.png-wh_50 "/>
A total of 7 parts per line separated by a colon
The first paragraph refers to the user name
The second paragraph is the user's password
The third paragraph refers to the UID, each user has their own UID
The fourth paragraph refers to the group UID, each user has a different UID
The fifth paragraph is the field that explains the description
The sixth paragraph refers to the user's home directory
The seventh paragraph refers to the shell
Two. View the password file
Cat/etc/shadow
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/8B/18/wKiom1hENrzxlqqFAABMuDRXlkg457.png-wh_500x0-wm_3 -wmp_4-s_2114369785.png "title=" F.png "alt=" Wkiom1henrzxlqqfaabmudrxlkg457.png-wh_50 "/>
9 fields are split
The first field is a user name
The second field is the user's password
Third field The last time the password was changed, elapsed time (1970.1.1-now elapsed time)
Fourth field How many geniuses can you change your password?
Number of days before the fifth field password expires
Sixth field password expiration how many days a warning is issued
the Seventh field default NULL indicates the expiration date of the account. number of days after expiry lock account
The life cycle of the eighth field account
The Nineth field is a reserved value
A detailed description of the 9 fields for the 7 fields and passwords of the user name under Linux