|
|
1.1 root 1: .TH PASSWD 5
2: .CT 1 sa_nonmortals secur
3: .SH NAME
4: passwd, group \- password and group files
5: .SH DESCRIPTION
6: The file
7: .F /etc/passwd
8: has one line for each user with the
9: following information:
10: .IP
11: .nf
12: name (login name, contains no upper case)
13: encrypted password
14: numerical user ID
15: numerical group ID
16: comp center account number, box number, optional user-id
17: initial working directory
18: program to use as shell
19: .fi
20: .PP
21: Fields
22: are separated by colons.
23: The comp center field is used only when communicating with certain
24: systems, and in other installations can contain
25: any desired information.
26: If the password field is null, no password is demanded;
27: if the shell field is null,
28: .F /bin/sh
29: is used.
30: .PP
31: The file
32: .F /etc/group
33: defines the membership of users in permission groups.
34: It contains one line for each group with the following
35: colon-separated fields:
36: .IP
37: .nf
38: group name
39: encrypted password
40: numerical group ID
41: comma-separated list of all users allowed in the group
42: .fi
43: .PP
44: Each group is separated from the next by a new-line.
45: If the password field is null,
46: .IR newgrp (1)
47: will not demand a password.
48: .PP
49: Because the passwords are encrypted,
50: these files can and do have general read
51: permission and can be used, for example,
52: to map numerical ids to names.
53: .SH FILES
54: .F /etc/passwd
55: .F /etc/group
56: .SH "SEE ALSO"
57: .IR newgrp (1),
58: .IR getpwent (3),
59: .IR login (8),
60: .IR crypt (3),
61: .IR passwd (1)
62: .SH BUGS
63: .IR Passwd (1)
64: won't change passwords in the group file.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.