Commit | Line | Data |
---|---|---|
72972dd0 TL |
1 | .TH PASSWD 5 |
2 | .SH NAME | |
3 | passwd \- password file | |
4 | .SH DESCRIPTION | |
5 | .I Passwd | |
6 | contains for each user the | |
7 | following information: | |
8 | .HP 10 | |
9 | name (login name, contains no upper case) | |
10 | .br | |
11 | .ns | |
12 | .HP 10 | |
13 | encrypted password | |
14 | .br | |
15 | .ns | |
16 | .HP 10 | |
17 | numerical user ID | |
18 | .br | |
19 | .ns | |
20 | .HP 10 | |
21 | numerical group ID | |
22 | .br | |
23 | .ns | |
24 | .HP 10 | |
25 | GCOS job number, box number, optional GCOS user-id | |
26 | .br | |
27 | .ns | |
28 | .HP 10 | |
29 | initial working directory | |
30 | .br | |
31 | .ns | |
32 | .HP 10 | |
33 | program to use as Shell | |
34 | .PP | |
35 | This is an ASCII file. Each field within each user's entry | |
36 | is separated from the next by a colon. | |
37 | The GCOS field is used only when communicating with that | |
38 | system, and in other installations can contain | |
39 | any desired information. | |
40 | Each user is separated from the next by a new-line. | |
41 | If the password field is null, no password is demanded; | |
42 | if the Shell field is null, the Shell itself | |
43 | is used. | |
44 | .PP | |
45 | This file resides in directory /etc. | |
46 | Because of the encrypted | |
47 | passwords, it can and does have general read | |
48 | permission and can be used, for example, | |
49 | to map numerical user ID's to names. | |
50 | .SH FILES | |
51 | /etc/passwd | |
52 | .SH "SEE ALSO" | |
53 | getpwent(3), login(1), crypt(3), passwd(1), group(5) |