|
|
1.1 root 1:
2:
3: passwd File Format passwd
4:
5:
6:
7:
8: Password file format
9:
10:
11: The file /etc/passwd holds information about each user who has
12: permission to use the COHERENT system. This information is read
13: by the commands login and passwd whenever a user attempts to log
14: in, to ensure that that user is really himself and not an impos-
15: tor.
16:
17: /etc/passwd holds one record for each user; each record, in turn,
18: consists of seven colon-separated fields, as follows:
19:
20:
21: name:password:user_id:group_id:comments:home_dir:shell
22:
23:
24: name is the user's login name. password is his encrypted
25: password. user_id is a unique number that is also used to iden-
26: tify the user. group_id identifies the group to which the user
27: belongs, if any. comments holds miscellaneous data, such as
28: names, telephone numbers, or office numbers. home_dir gives the
29: user's home directory. Finally, shell gives the program that is
30: first executed when the user logs on; in most instances, this is
31: an interactive shell (default, /bbiinn/sshh).
32:
33: /etc/passwd includes a special entry for remacc. This entry con-
34: trols access to the system by remote devices (for example, by a
35: modem). If an entry in file /etc/ttys indicates that a serial
36: line is remote (as set by placing an `r' as the second character
37: in its entry), COHERENT prompts
38:
39:
40: Remote access password:
41:
42:
43: when a user attempts to log in on that line.
44:
45: To set the password for remacc, enter the following command while
46: running as the superuser.
47:
48:
49: passwd remacc
50:
51:
52: ***** See Also *****
53:
54: file formats, passwd (command)
55:
56: ***** Notes *****
57:
58: /etc/passwd can be read by anyone: if access to it were refused
59: to a user, he could not log on. Thus, the passwords encrypted
60: within it can be read and copied by anyone, and so may be vulner-
61: able to brute-force decryption. For this reason, close attention
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
67:
68:
69: passwd File Format passwd
70:
71:
72:
73: should be paid to passwords: they should not be common words or
74: names, preferably mix cases or use unique spellings, and be at
75: least six characters long.
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130: COHERENT Lexicon Page 2
131:
132:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.