1PASSWD(5) File Formats Manual PASSWD(5)
2
3
4
6 passwd - password file
7
9 Passwd contains for each user the following information:
10
11 name (login name, contains no upper case)
12 encrypted password
13 numerical user ID
14 numerical group ID
15 GCOS job number, box number, optional GCOS user-id
16 initial working directory
17 program to use as Shell
18
19 This is an ASCII file. Each field within each user's entry is sepa‐
20 rated from the next by a colon. The GCOS field is used only when com‐
21 municating with that system, and in other installations can contain any
22 desired information. Each user is separated from the next by a new-
23 line. If the password field is null, no password is demanded; if the
24 Shell field is null, the Shell itself is used.
25
26 This file resides in directory /etc. Because of the encrypted pass‐
27 words, it can and does have general read permission and can be used,
28 for example, to map numerical user ID's to names.
29
31 /etc/passwd
32
34 getpwent(3), login(1), crypt(3), passwd(1), group(5)
35
36
37
38 PASSWD(5)