aboutsummaryrefslogtreecommitdiffstats
path: root/appendixa/shadowpwd-desc.sgml
blob: 22cb7391613c24d1b70719892bd17265473f22c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<sect2>
<title>Contents</title>

<para>
The Shadow Password Suite contains the chage, chfn, chsh, expiry,
faillog, gpasswd, lastlog, login, newgrp, passwd, sg, su, chpasswd, 
dpasswd, groupadd, groupdel, groupmod, grpck, grpconv, grpunconv, logoutd,
mkpasswd, newusers, pwck, pwconv, pwunconv, useradd, userdel, usermod
and vipw programs.
</para>

</sect2>

<sect2><title>Description</title>

<sect3><title>chage</title>

<para>
chage changes the number of days between password changes and the date of 
the last password change.
</para>

</sect3>

<sect3><title>chfn</title>

<para>
chfn changes user fullname, office number, office extension, and home 
phone number information for a user's account.
</para>

</sect3>

<sect3><title>chsh</title>

<para>
chsh  changes the user login shell.
</para>

</sect3>

<sect3><title>expiry</title>

<para>
It's currently unknown what this program is for.
</para>

</sect3>

<sect3><title>faillog</title>

<para>
faillog formats the contents of the failure log,/var/log/faillog, and 
maintains failure counts and limits.
</para>

</sect3>

<sect3><title>gpasswd</title>

<para>
gpasswd is used to administer the /etc/group file
</para>

</sect3>

<sect3><title>lastlog</title>

<para>
lastlog formats and prints the contents of the last login log, 
/var/log/lastlog. The login-name, port, and last login time will be printed.
</para>

</sect3>

<sect3><title>login</title>

<para>
login is used to establish a new session with the system.
</para>

</sect3>

<sect3><title>newgrp</title>

<para>
newgrp is used to change the current group ID during a login session.
</para>

</sect3>

<sect3><title>passwd</title>

<para>
passwd changes passwords for user and group accounts.
</para>

</sect3>

<sect3><title>sg</title>

<para>
sg executes command as a different group ID.
</para>

</sect3>

<sect3><title>su</title>

<para>
Change the effective user id and group id to that of a user. This
replaces the su programs that's installed from the Shellutils package.
</para>

</sect3>

<sect3><title>chpasswd</title>

<para>
chpasswd reads a file of user name and password pairs from standard 
input and uses this information to update a group of existing users.
</para>

</sect3>

<sect3><title>dpasswd</title>

<para>
dpasswd adds, deletes, and updates dialup passwords for user login shells.
</para>

</sect3>

<sect3><title>groupadd</title>

<para>
The groupadd command creates a new group account using the values 
specified on the command line and the default values  from the system.
</para>

</sect3>

<sect3><title>groupdel</title>

<para>
The groupdel command modifies the system account files, deleting all 
entries that refer to group.
</para>

</sect3>

<sect3><title>groupmod</title>

<para>
The groupmod command modifies the system account files to reflect the 
changes that are specified on the command line.
</para>

</sect3>

<sect3><title>grpck</title>

<para>
grpck verifies the integrity of the system authentication information.
</para>

</sect3>

<sect3><title>grpconv</title>

<para>
grpunconv converts to shadow group files from normal group files.
</para>

</sect3>

<sect3><title>grpunconv</title>

<para>
grpunconv converts from shadow group files to normal group files.
</para>

</sect3>

<sect3><title>logoutd</title>

<para>
logoutd enforces the login time and port restrictions specified in 
/etc/porttime.
</para>

</sect3>

<sect3><title>mkpasswd</title>

<para>
mkpasswd reads a file in the format given by the flags and converts it 
to the corresponding database file format.
</para>

</sect3>

<sect3><title>newusers</title>

<para>
newusers reads a file of user name and cleartext password pairs and uses 
this information to update a group of existing users or to create new users.
</para>

</sect3>

<sect3><title>pwck</title>

<para>
pwck verifies the integrity of the system authentication information.
</para>

</sect3>

<sect3><title>pwconv</title>

<para>
pwconv converts to shadow passwd files from normal passwd files.
</para>

</sect3>

<sect3><title>pwunconv</title>

<para>
pwunconv converts from shadow passwd files to normal files.
</para>

</sect3>

<sect3><title>useradd</title>

<para>
useradd creates a new user or update default new user information.
</para>

</sect3>

<sect3><title>userdel</title>

<para>
userdel modifies the system account files, deleting all entries that 
refer to a specified login name.
</para>

</sect3>

<sect3><title>usermod</title>

<para>
usermod modifies the system account files to reflect the changes that 
are specified on the command line.
</para>

</sect3>

<sect3><title>vipw and vigr</title>

<para>
vipw and vigr will edit the files /etc/passwd and /etc/group, 
respectively. With the -s flag, they will edit the shadow versions of 
those files, /etc/shadow  and /etc/gshadow,  respectively.
</para>

</sect3>

</sect2>