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