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