1 | <sect2>
|
---|
2 | <title>Contents</title>
|
---|
3 |
|
---|
4 | <para>
|
---|
5 | The Shadow Password Suite contains the chage, chfn, chsh, expiry,
|
---|
6 | faillog, gpasswd, lastlog, login, newgrp, passwd, sg, su, chpasswd,
|
---|
7 | dpasswd, groupadd, groupdel, groupmod, grpck, grpconv, grpunconv, logoutd,
|
---|
8 | mkpasswd, newusers, pwck, pwconv, pwunconv, useradd, userdel, usermod
|
---|
9 | and vipw programs.
|
---|
10 | </para>
|
---|
11 |
|
---|
12 | </sect2>
|
---|
13 |
|
---|
14 | <sect2><title>Description</title>
|
---|
15 |
|
---|
16 | <sect3><title>chage</title>
|
---|
17 |
|
---|
18 | <para>
|
---|
19 | chage changes the number of days between password changes and the date of
|
---|
20 | the last password change.
|
---|
21 | </para>
|
---|
22 |
|
---|
23 | </sect3>
|
---|
24 |
|
---|
25 | <sect3><title>chfn</title>
|
---|
26 |
|
---|
27 | <para>
|
---|
28 | chfn changes user full name, office number, office extension, and home
|
---|
29 | phone number information for a user's account.
|
---|
30 | </para>
|
---|
31 |
|
---|
32 | </sect3>
|
---|
33 |
|
---|
34 | <sect3><title>chsh</title>
|
---|
35 |
|
---|
36 | <para>
|
---|
37 | chsh changes the user login shell.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | </sect3>
|
---|
41 |
|
---|
42 | <sect3><title>expiry</title>
|
---|
43 |
|
---|
44 | <para>
|
---|
45 | Checks and enforces password expiration policy.
|
---|
46 | </para>
|
---|
47 |
|
---|
48 | </sect3>
|
---|
49 |
|
---|
50 | <sect3><title>faillog</title>
|
---|
51 |
|
---|
52 | <para>
|
---|
53 | faillog formats the contents of the failure log,/var/log/faillog, and
|
---|
54 | maintains failure counts and limits.
|
---|
55 | </para>
|
---|
56 |
|
---|
57 | </sect3>
|
---|
58 |
|
---|
59 | <sect3><title>gpasswd</title>
|
---|
60 |
|
---|
61 | <para>
|
---|
62 | gpasswd is used to administer the /etc/group file
|
---|
63 | </para>
|
---|
64 |
|
---|
65 | </sect3>
|
---|
66 |
|
---|
67 | <sect3><title>lastlog</title>
|
---|
68 |
|
---|
69 | <para>
|
---|
70 | lastlog formats and prints the contents of the last login log,
|
---|
71 | /var/log/lastlog. The login-name, port, and last login time will be printed.
|
---|
72 | </para>
|
---|
73 |
|
---|
74 | </sect3>
|
---|
75 |
|
---|
76 | <sect3><title>login</title>
|
---|
77 |
|
---|
78 | <para>
|
---|
79 | login is used to establish a new session with the system.
|
---|
80 | </para>
|
---|
81 |
|
---|
82 | </sect3>
|
---|
83 |
|
---|
84 | <sect3><title>newgrp</title>
|
---|
85 |
|
---|
86 | <para>
|
---|
87 | newgrp is used to change the current group ID during a login session.
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | </sect3>
|
---|
91 |
|
---|
92 | <sect3><title>passwd</title>
|
---|
93 |
|
---|
94 | <para>
|
---|
95 | passwd changes passwords for user and group accounts.
|
---|
96 | </para>
|
---|
97 |
|
---|
98 | </sect3>
|
---|
99 |
|
---|
100 | <sect3><title>sg</title>
|
---|
101 |
|
---|
102 | <para>
|
---|
103 | sg executes command as a different group ID.
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | </sect3>
|
---|
107 |
|
---|
108 | <sect3><title>su</title>
|
---|
109 |
|
---|
110 | <para>
|
---|
111 | Change the effective user id and group id to that of a user. This
|
---|
112 | replaces the su programs that's installed from the Shellutils package.
|
---|
113 | </para>
|
---|
114 |
|
---|
115 | </sect3>
|
---|
116 |
|
---|
117 | <sect3><title>chpasswd</title>
|
---|
118 |
|
---|
119 | <para>
|
---|
120 | chpasswd reads a file of user name and password pairs from standard
|
---|
121 | input and uses this information to update a group of existing users.
|
---|
122 | </para>
|
---|
123 |
|
---|
124 | </sect3>
|
---|
125 |
|
---|
126 | <sect3><title>dpasswd</title>
|
---|
127 |
|
---|
128 | <para>
|
---|
129 | dpasswd adds, deletes, and updates dial-up passwords for user login shells.
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | </sect3>
|
---|
133 |
|
---|
134 | <sect3><title>groupadd</title>
|
---|
135 |
|
---|
136 | <para>
|
---|
137 | The groupadd command creates a new group account using the values
|
---|
138 | specified on the command line and the default values from the system.
|
---|
139 | </para>
|
---|
140 |
|
---|
141 | </sect3>
|
---|
142 |
|
---|
143 | <sect3><title>groupdel</title>
|
---|
144 |
|
---|
145 | <para>
|
---|
146 | The groupdel command modifies the system account files, deleting all
|
---|
147 | entries that refer to group.
|
---|
148 | </para>
|
---|
149 |
|
---|
150 | </sect3>
|
---|
151 |
|
---|
152 | <sect3><title>groupmod</title>
|
---|
153 |
|
---|
154 | <para>
|
---|
155 | The groupmod command modifies the system account files to reflect the
|
---|
156 | changes that are specified on the command line.
|
---|
157 | </para>
|
---|
158 |
|
---|
159 | </sect3>
|
---|
160 |
|
---|
161 | <sect3><title>grpck</title>
|
---|
162 |
|
---|
163 | <para>
|
---|
164 | grpck verifies the integrity of the system authentication information.
|
---|
165 | </para>
|
---|
166 |
|
---|
167 | </sect3>
|
---|
168 |
|
---|
169 | <sect3><title>grpconv</title>
|
---|
170 |
|
---|
171 | <para>
|
---|
172 | grpunconv converts to shadow group files from normal group files.
|
---|
173 | </para>
|
---|
174 |
|
---|
175 | </sect3>
|
---|
176 |
|
---|
177 | <sect3><title>grpunconv</title>
|
---|
178 |
|
---|
179 | <para>
|
---|
180 | grpunconv converts from shadow group files to normal group files.
|
---|
181 | </para>
|
---|
182 |
|
---|
183 | </sect3>
|
---|
184 |
|
---|
185 | <sect3><title>logoutd</title>
|
---|
186 |
|
---|
187 | <para>
|
---|
188 | logoutd enforces the login time and port restrictions specified in
|
---|
189 | /etc/porttime.
|
---|
190 | </para>
|
---|
191 |
|
---|
192 | </sect3>
|
---|
193 |
|
---|
194 | <sect3><title>mkpasswd</title>
|
---|
195 |
|
---|
196 | <para>
|
---|
197 | mkpasswd reads a file in the format given by the flags and converts it
|
---|
198 | to the corresponding database file format.
|
---|
199 | </para>
|
---|
200 |
|
---|
201 | </sect3>
|
---|
202 |
|
---|
203 | <sect3><title>newusers</title>
|
---|
204 |
|
---|
205 | <para>
|
---|
206 | newusers reads a file of user name and clear text password pairs and uses
|
---|
207 | this information to update a group of existing users or to create new users.
|
---|
208 | </para>
|
---|
209 |
|
---|
210 | </sect3>
|
---|
211 |
|
---|
212 | <sect3><title>pwck</title>
|
---|
213 |
|
---|
214 | <para>
|
---|
215 | pwck verifies the integrity of the system authentication information.
|
---|
216 | </para>
|
---|
217 |
|
---|
218 | </sect3>
|
---|
219 |
|
---|
220 | <sect3><title>pwconv</title>
|
---|
221 |
|
---|
222 | <para>
|
---|
223 | pwconv converts to shadow passwd files from normal passwd files.
|
---|
224 | </para>
|
---|
225 |
|
---|
226 | </sect3>
|
---|
227 |
|
---|
228 | <sect3><title>pwunconv</title>
|
---|
229 |
|
---|
230 | <para>
|
---|
231 | pwunconv converts from shadow passwd files to normal files.
|
---|
232 | </para>
|
---|
233 |
|
---|
234 | </sect3>
|
---|
235 |
|
---|
236 | <sect3><title>useradd</title>
|
---|
237 |
|
---|
238 | <para>
|
---|
239 | useradd creates a new user or update default new user information.
|
---|
240 | </para>
|
---|
241 |
|
---|
242 | </sect3>
|
---|
243 |
|
---|
244 | <sect3><title>userdel</title>
|
---|
245 |
|
---|
246 | <para>
|
---|
247 | userdel modifies the system account files, deleting all entries that
|
---|
248 | refer to a specified login name.
|
---|
249 | </para>
|
---|
250 |
|
---|
251 | </sect3>
|
---|
252 |
|
---|
253 | <sect3><title>usermod</title>
|
---|
254 |
|
---|
255 | <para>
|
---|
256 | usermod modifies the system account files to reflect the changes that
|
---|
257 | are specified on the command line.
|
---|
258 | </para>
|
---|
259 |
|
---|
260 | </sect3>
|
---|
261 |
|
---|
262 | <sect3><title>vipw and vigr</title>
|
---|
263 |
|
---|
264 | <para>
|
---|
265 | vipw and vigr will edit the files /etc/passwd and /etc/group,
|
---|
266 | respectively. With the -s flag, they will edit the shadow versions of
|
---|
267 | those files, /etc/shadow and /etc/gshadow, respectively.
|
---|
268 | </para>
|
---|
269 |
|
---|
270 | </sect3>
|
---|
271 |
|
---|
272 | </sect2>
|
---|
273 |
|
---|