BSD 3 development
[unix-history] / usr / man / man5 / passwd.5
CommitLineData
3d614971
BJ
1.TH PASSWD 5
2.SH NAME
3passwd \- password file
4.SH DESCRIPTION
5.I Passwd
6contains for each user the
7following information:
8.HP 10
9name (login name, contains no upper case)
10.br
11.ns
12.HP 10
13encrypted password
14.br
15.ns
16.HP 10
17numerical user ID
18.br
19.ns
20.HP 10
21numerical group ID
22.br
23.ns
24.HP 10
25user's real name, office, extension, home phone.
26The name may contain `&', meaning insert the login name.
27This information is set by the
28.IR chfn (1)
29command and used by the
30.IR finger (1)
31command.
32.br
33.ns
34.HP 10
35initial working directory
36.br
37.ns
38.HP 10
39program to use as Shell
40.PP
41This is an ASCII file. Each field within each user's entry
42is separated from the next by a colon.
43Each user is separated from the next by a new-line.
44If the password field is null, no password is demanded;
45if the Shell field is null, the Shell itself
46is used.
47.PP
48This file resides in directory /etc.
49Because of the encrypted
50passwords, it can and does have general read
51permission and can be used, for example,
52to map numerical user ID's to names.
53.SH FILES
54/etc/passwd
55.SH "SEE ALSO"
56getpwent(3), login(1), crypt(3), passwd(1), group(5), chfn(1), finger(1)