August 2000
Intermediate to advanced
896 pages
28h 17m
English
The /etc/passwd file is a list of users recognized by the system. The system consults the file at login time to determine a user’s UID and to verify the user’s password. Each line in the file represents one user and contains seven fields separated by colons:
• Login name
• Encrypted password (unless a shadow password file is used; see below)
• UID number
• Default GID number
• “GECOS” information: full name, office, extension, home phone
• Home directory
• Login shell
For example, the following lines are all valid /etc/passwd entries.
root:jsg8Y.1p6uWMo:0:0:The System,,x6096,:/:/bin/cshjl:Hwex6bM8cT3/E:100:0:Jim Lane,ECT8-3,,:/staff/jl:/bin/shdotty:oP0vdZ/s93ZiY:101:20::/home/korbel/dotty:/bin/csh
The ...
Read now
Unlock full access