1 | <sect2>
|
---|
2 | <title>Contents</title>
|
---|
3 |
|
---|
4 | <para>The Shadow Password Suite contains the chage, chfn, chpasswd, chsh,
|
---|
5 | dpasswd, expiry, faillog, gpasswd, groupadd, groupdel, groupmod, grpck,
|
---|
6 | grpconv, grpunconv, lastlog, login, newgrp, passwd, sg, su, logoutd,
|
---|
7 | mkpasswd, newusers, pwck, pwconv, pwunconv, useradd,
|
---|
8 | userdel, usermod, vigr and vipw programs.</para>
|
---|
9 |
|
---|
10 | </sect2>
|
---|
11 |
|
---|
12 | <sect2><title>Description</title>
|
---|
13 |
|
---|
14 | <sect3><title>chage</title>
|
---|
15 | <para>chage changes the number of days between password changes and the date of
|
---|
16 | the last password change.</para></sect3>
|
---|
17 |
|
---|
18 | <sect3><title>chfn</title>
|
---|
19 | <para>chfn changes user full name, office number, office extension, and home
|
---|
20 | phone number information for a user's account.</para></sect3>
|
---|
21 |
|
---|
22 | <sect3><title>chpasswd</title>
|
---|
23 | <para>chpasswd reads a file of user name and password pairs from standard
|
---|
24 | input and uses this information to update a group of
|
---|
25 | existing users.</para></sect3>
|
---|
26 |
|
---|
27 | <sect3><title>chsh</title>
|
---|
28 | <para>chsh changes the user login shell.</para></sect3>
|
---|
29 |
|
---|
30 | <sect3><title>dpasswd</title>
|
---|
31 | <para>dpasswd adds, deletes, and updates dial-up passwords for
|
---|
32 | user login shells.</para></sect3>
|
---|
33 |
|
---|
34 | <sect3><title>expiry</title>
|
---|
35 | <para>Checks and enforces password expiration policy.</para></sect3>
|
---|
36 |
|
---|
37 | <sect3><title>faillog</title>
|
---|
38 | <para>faillog formats the contents of the failure log,/var/log/faillog, and
|
---|
39 | maintains failure counts and limits.</para></sect3>
|
---|
40 |
|
---|
41 | <sect3><title>gpasswd</title>
|
---|
42 | <para>gpasswd is used to administer the /etc/group file</para></sect3>
|
---|
43 |
|
---|
44 | <sect3><title>groupadd</title>
|
---|
45 | <para>The groupadd command creates a new group account using the values
|
---|
46 | specified on the command line and the default values from
|
---|
47 | the system.</para></sect3>
|
---|
48 |
|
---|
49 | <sect3><title>groupdel</title>
|
---|
50 | <para>The groupdel command modifies the system account files, deleting all
|
---|
51 | entries that refer to group.</para></sect3>
|
---|
52 |
|
---|
53 | <sect3><title>groupmod</title>
|
---|
54 | <para>The groupmod command modifies the system account files to reflect the
|
---|
55 | changes that are specified on the command line.</para></sect3>
|
---|
56 |
|
---|
57 | <sect3><title>grpck</title>
|
---|
58 | <para>grpck verifies the integrity of the system authentication
|
---|
59 | information.</para></sect3>
|
---|
60 |
|
---|
61 | <sect3><title>grpconv</title>
|
---|
62 | <para>grpunconv converts to shadow group files from normal
|
---|
63 | group files.</para></sect3>
|
---|
64 |
|
---|
65 | <sect3><title>grpunconv</title>
|
---|
66 | <para>grpunconv converts from shadow group files to normal
|
---|
67 | group files.</para></sect3>
|
---|
68 |
|
---|
69 | <sect3><title>lastlog</title>
|
---|
70 | <para>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
|
---|
72 | printed.</para></sect3>
|
---|
73 |
|
---|
74 | <sect3><title>login</title>
|
---|
75 | <para>login is used to establish a new session with the system.</para></sect3>
|
---|
76 |
|
---|
77 | <sect3><title>newgrp</title>
|
---|
78 | <para>newgrp is used to change the current group ID during a
|
---|
79 | login session.</para></sect3>
|
---|
80 |
|
---|
81 | <sect3><title>passwd</title>
|
---|
82 | <para>passwd changes passwords for user and group accounts.</para></sect3>
|
---|
83 |
|
---|
84 | <sect3><title>sg</title>
|
---|
85 | <para>sg executes command as a different group ID.</para></sect3>
|
---|
86 |
|
---|
87 | <sect3><title>su</title>
|
---|
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
|
---|
90 | Shellutils package.</para></sect3>
|
---|
91 |
|
---|
92 | <sect3><title>logoutd</title>
|
---|
93 | <para>logoutd enforces the login time and port restrictions specified in
|
---|
94 | /etc/porttime.</para></sect3>
|
---|
95 |
|
---|
96 | <sect3><title>mkpasswd</title>
|
---|
97 | <para>mkpasswd reads a file in the format given by the flags and converts it
|
---|
98 | to the corresponding database file format.</para></sect3>
|
---|
99 |
|
---|
100 | <sect3><title>newusers</title>
|
---|
101 | <para>newusers reads a file of user name and clear text password pairs and uses
|
---|
102 | this information to update a group of existing users or to create new
|
---|
103 | users.</para></sect3>
|
---|
104 |
|
---|
105 | <sect3><title>pwck</title>
|
---|
106 | <para>pwck verifies the integrity of the system authentication
|
---|
107 | information.</para></sect3>
|
---|
108 |
|
---|
109 | <sect3><title>pwconv</title>
|
---|
110 | <para>pwconv converts to shadow passwd files from normal passwd
|
---|
111 | files.</para></sect3>
|
---|
112 |
|
---|
113 | <sect3><title>pwunconv</title>
|
---|
114 | <para>pwunconv converts from shadow passwd files to normal files.</para></sect3>
|
---|
115 |
|
---|
116 | <sect3><title>useradd</title>
|
---|
117 | <para>useradd creates a new user or update default new user
|
---|
118 | information.</para></sect3>
|
---|
119 |
|
---|
120 | <sect3><title>userdel</title>
|
---|
121 | <para>userdel modifies the system account files, deleting all entries that
|
---|
122 | refer to a specified login name.</para></sect3>
|
---|
123 |
|
---|
124 | <sect3><title>usermod</title>
|
---|
125 | <para>usermod modifies the system account files to reflect the changes that
|
---|
126 | are specified on the command line.</para></sect3>
|
---|
127 |
|
---|
128 | <sect3><title>vipw and vigr</title>
|
---|
129 | <para>vipw and vigr will edit the files /etc/passwd and /etc/group,
|
---|
130 | respectively. With the -s flag, they will edit the shadow versions of
|
---|
131 | those files, /etc/shadow and /etc/gshadow, respectively.</para></sect3>
|
---|
132 |
|
---|
133 | </sect2>
|
---|
134 |
|
---|