[8fcc2c0] | 1 | <sect2><title>Contents of Shadow</title>
|
---|
| 2 |
|
---|
| 3 | <para>Last checked against version &shadow-contversion;.</para>
|
---|
[6370fa6] | 4 |
|
---|
[bdc08c1] | 5 | <sect3><title>Program Files</title>
|
---|
| 6 | <para>chage, chfn, chpasswd, chsh, dpasswd, expiry, faillog, gpasswd,
|
---|
| 7 | groupadd, groupdel, groupmod, grpck, grpconv, grpunconv, lastlog, login,
|
---|
| 8 | logoutd, mkpasswd, newgrp, newusers, passwd, pwck, pwconv, pwunconv, sg
|
---|
| 9 | (link to newgrp), su, useradd, userdel, usermod, vigr (link to vipw) and
|
---|
| 10 | vipw</para></sect3>
|
---|
[6370fa6] | 11 |
|
---|
[bdc08c1] | 12 | <sect3><title>Descriptions</title>
|
---|
[6370fa6] | 13 |
|
---|
[bdc08c1] | 14 | <sect4><title>chage</title>
|
---|
[b822811] | 15 | <para>chage changes the number of days between password changes and the date of
|
---|
[bdc08c1] | 16 | the last password change.</para></sect4>
|
---|
[6370fa6] | 17 |
|
---|
[bdc08c1] | 18 | <sect4><title>chfn</title>
|
---|
[19c068f] | 19 | <para>chfn changes a user's full name and other information
|
---|
| 20 | (office room number, office phone number, and
|
---|
| 21 | home phone number).</para></sect4>
|
---|
[6370fa6] | 22 |
|
---|
[bdc08c1] | 23 | <sect4><title>chpasswd</title>
|
---|
[53ad30a] | 24 | <para>chpasswd reads a file of user name and password pairs from standard
|
---|
| 25 | input and uses this information to update a group of
|
---|
[bdc08c1] | 26 | existing users.</para></sect4>
|
---|
[6370fa6] | 27 |
|
---|
[bdc08c1] | 28 | <sect4><title>chsh</title>
|
---|
| 29 | <para>chsh changes the user login shell.</para></sect4>
|
---|
[6370fa6] | 30 |
|
---|
[bdc08c1] | 31 | <sect4><title>dpasswd</title>
|
---|
[53ad30a] | 32 | <para>dpasswd adds, deletes, and updates dial-up passwords for
|
---|
[bdc08c1] | 33 | user login shells.</para></sect4>
|
---|
[6370fa6] | 34 |
|
---|
[bdc08c1] | 35 | <sect4><title>expiry</title>
|
---|
[cf24ff1] | 36 | <para>expiry checks and enforces a password expiration policy.</para></sect4>
|
---|
[6370fa6] | 37 |
|
---|
[bdc08c1] | 38 | <sect4><title>faillog</title>
|
---|
[b822811] | 39 | <para>faillog formats the contents of the failure log,/var/log/faillog, and
|
---|
[bdc08c1] | 40 | maintains failure counts and limits.</para></sect4>
|
---|
[6370fa6] | 41 |
|
---|
[bdc08c1] | 42 | <sect4><title>gpasswd</title>
|
---|
[335838c] | 43 | <para>gpasswd is used to administer the /etc/group file.</para></sect4>
|
---|
[6370fa6] | 44 |
|
---|
[bdc08c1] | 45 | <sect4><title>groupadd</title>
|
---|
[b822811] | 46 | <para>The groupadd command creates a new group account using the values
|
---|
[53ad30a] | 47 | specified on the command line and the default values from
|
---|
[bdc08c1] | 48 | the system.</para></sect4>
|
---|
[6370fa6] | 49 |
|
---|
[bdc08c1] | 50 | <sect4><title>groupdel</title>
|
---|
[b822811] | 51 | <para>The groupdel command modifies the system account files, deleting all
|
---|
[bdc08c1] | 52 | entries that refer to group.</para></sect4>
|
---|
[6370fa6] | 53 |
|
---|
[bdc08c1] | 54 | <sect4><title>groupmod</title>
|
---|
[b822811] | 55 | <para>The groupmod command modifies the system account files to reflect the
|
---|
[bdc08c1] | 56 | changes that are specified on the command line.</para></sect4>
|
---|
[6370fa6] | 57 |
|
---|
[bdc08c1] | 58 | <sect4><title>grpck</title>
|
---|
[b822811] | 59 | <para>grpck verifies the integrity of the system authentication
|
---|
[bdc08c1] | 60 | information.</para></sect4>
|
---|
[6370fa6] | 61 |
|
---|
[bdc08c1] | 62 | <sect4><title>grpconv</title>
|
---|
[53ad30a] | 63 | <para>grpunconv converts to shadow group files from normal
|
---|
[bdc08c1] | 64 | group files.</para></sect4>
|
---|
[6370fa6] | 65 |
|
---|
[bdc08c1] | 66 | <sect4><title>grpunconv</title>
|
---|
[53ad30a] | 67 | <para>grpunconv converts from shadow group files to normal
|
---|
[bdc08c1] | 68 | group files.</para></sect4>
|
---|
[6370fa6] | 69 |
|
---|
[bdc08c1] | 70 | <sect4><title>lastlog</title>
|
---|
[53ad30a] | 71 | <para>lastlog formats and prints the contents of the last login log,
|
---|
| 72 | /var/log/lastlog. The login-name, port, and last login time will be
|
---|
[bdc08c1] | 73 | printed.</para></sect4>
|
---|
[6370fa6] | 74 |
|
---|
[bdc08c1] | 75 | <sect4><title>login</title>
|
---|
| 76 | <para>login is used to establish a new session with the system.</para></sect4>
|
---|
[6370fa6] | 77 |
|
---|
[bdc08c1] | 78 | <sect4><title>logoutd</title>
|
---|
[53ad30a] | 79 | <para>logoutd enforces the login time and port restrictions specified in
|
---|
[bdc08c1] | 80 | /etc/porttime.</para></sect4>
|
---|
[6370fa6] | 81 |
|
---|
[bdc08c1] | 82 | <sect4><title>mkpasswd</title>
|
---|
[b822811] | 83 | <para>mkpasswd reads a file in the format given by the flags and converts it
|
---|
[bdc08c1] | 84 | to the corresponding database file format.</para></sect4>
|
---|
| 85 |
|
---|
| 86 | <sect4><title>newgrp</title>
|
---|
| 87 | <para>newgrp is used to change the current group ID during a
|
---|
| 88 | login session.</para></sect4>
|
---|
[6370fa6] | 89 |
|
---|
[bdc08c1] | 90 | <sect4><title>newusers</title>
|
---|
[b822811] | 91 | <para>newusers reads a file of user name and clear text password pairs and uses
|
---|
| 92 | this information to update a group of existing users or to create new
|
---|
[bdc08c1] | 93 | users.</para></sect4>
|
---|
[6370fa6] | 94 |
|
---|
[bdc08c1] | 95 | <sect4><title>passwd</title>
|
---|
| 96 | <para>passwd changes passwords for user and group accounts.</para></sect4>
|
---|
| 97 |
|
---|
| 98 | <sect4><title>pwck</title>
|
---|
[19c068f] | 99 | <para>pwck verifies the integrity of the password files.</para></sect4>
|
---|
[6370fa6] | 100 |
|
---|
[bdc08c1] | 101 | <sect4><title>pwconv</title>
|
---|
[19c068f] | 102 | <para>pwconv converts the normal password file
|
---|
| 103 | to a shadowed password file.</para></sect4>
|
---|
[bdc08c1] | 104 |
|
---|
| 105 | <sect4><title>pwunconv</title>
|
---|
[19c068f] | 106 | <para>pwunconv converts a shadowed password file
|
---|
| 107 | to a normal password file.</para></sect4>
|
---|
[bdc08c1] | 108 |
|
---|
| 109 | <sect4><title>sg</title>
|
---|
[19c068f] | 110 | <para>sg sets the user's GID to that of the given group, or executes a
|
---|
| 111 | given command as member of the given group.</para></sect4>
|
---|
[6370fa6] | 112 |
|
---|
[bdc08c1] | 113 | <sect4><title>su</title>
|
---|
[159c2d2] | 114 | <para>su changes the effective user and group IDs to that of a given user.
|
---|
| 115 | (This program replaces the su program installed from the
|
---|
| 116 | Sh-utils package.)</para></sect4>
|
---|
[6370fa6] | 117 |
|
---|
[bdc08c1] | 118 | <sect4><title>useradd</title>
|
---|
[53ad30a] | 119 | <para>useradd creates a new user or update default new user
|
---|
[bdc08c1] | 120 | information.</para></sect4>
|
---|
[6370fa6] | 121 |
|
---|
[bdc08c1] | 122 | <sect4><title>userdel</title>
|
---|
[b822811] | 123 | <para>userdel modifies the system account files, deleting all entries that
|
---|
[bdc08c1] | 124 | refer to a specified login name.</para></sect4>
|
---|
[6370fa6] | 125 |
|
---|
[bdc08c1] | 126 | <sect4><title>usermod</title>
|
---|
[b822811] | 127 | <para>usermod modifies the system account files to reflect the changes that
|
---|
[bdc08c1] | 128 | are specified on the command line.</para></sect4>
|
---|
[6370fa6] | 129 |
|
---|
[bdc08c1] | 130 | <sect4><title>vipw and vigr</title>
|
---|
[b822811] | 131 | <para>vipw and vigr will edit the files /etc/passwd and /etc/group,
|
---|
[6370fa6] | 132 | respectively. With the -s flag, they will edit the shadow versions of
|
---|
[bdc08c1] | 133 | those files, /etc/shadow and /etc/gshadow, respectively.</para></sect4>
|
---|
| 134 |
|
---|
| 135 | </sect3>
|
---|
| 136 |
|
---|
| 137 | <sect3><title>Library Files</title>
|
---|
| 138 | <para>libshadow.[a,so]</para></sect3>
|
---|
| 139 |
|
---|
| 140 | <sect3><title>Descriptions</title>
|
---|
| 141 |
|
---|
| 142 | <sect4><title>libshadow</title>
|
---|
| 143 | <para>libshadow provides common functionality for the shadow
|
---|
| 144 | programs.</para></sect4>
|
---|
| 145 |
|
---|
| 146 | </sect3>
|
---|
[6370fa6] | 147 |
|
---|
| 148 | </sect2>
|
---|
| 149 |
|
---|