[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,
|
---|
[96df9055] | 7 | groupadd, groupdel, groupmod, groups, grpck, grpconv, grpunconv, lastlog,
|
---|
[2c094d6] | 8 | login, logoutd, mkpasswd, newgrp, newusers, passwd, pwck, pwconv, pwunconv,
|
---|
[96df9055] | 9 | sg (link to newgrp), useradd, userdel, usermod, vigr (link to vipw) and
|
---|
[bdc08c1] | 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>
|
---|
[2c094d6] | 29 | <para>chsh changes the user login shell.</para></sect4>
|
---|
[6370fa6] | 30 |
|
---|
[bdc08c1] | 31 | <sect4><title>dpasswd</title>
|
---|
[6a9875d] | 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>
|
---|
[6a9875d] | 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 |
|
---|
[96df9055] | 58 | <sect4><title>groups</title>
|
---|
| 59 | <para>groups prints the groups which a user is in.</para></sect4>
|
---|
| 60 |
|
---|
[bdc08c1] | 61 | <sect4><title>grpck</title>
|
---|
[b822811] | 62 | <para>grpck verifies the integrity of the system authentication
|
---|
[bdc08c1] | 63 | information.</para></sect4>
|
---|
[6370fa6] | 64 |
|
---|
[bdc08c1] | 65 | <sect4><title>grpconv</title>
|
---|
[53ad30a] | 66 | <para>grpunconv converts to shadow group files from normal
|
---|
[bdc08c1] | 67 | group files.</para></sect4>
|
---|
[6370fa6] | 68 |
|
---|
[bdc08c1] | 69 | <sect4><title>grpunconv</title>
|
---|
[53ad30a] | 70 | <para>grpunconv converts from shadow group files to normal
|
---|
[bdc08c1] | 71 | group files.</para></sect4>
|
---|
[6370fa6] | 72 |
|
---|
[bdc08c1] | 73 | <sect4><title>lastlog</title>
|
---|
[53ad30a] | 74 | <para>lastlog formats and prints the contents of the last login log,
|
---|
[6a9875d] | 75 | /var/log/lastlog. The login-name, port and last login time will be
|
---|
[bdc08c1] | 76 | printed.</para></sect4>
|
---|
[6370fa6] | 77 |
|
---|
[bdc08c1] | 78 | <sect4><title>login</title>
|
---|
| 79 | <para>login is used to establish a new session with the system.</para></sect4>
|
---|
[6370fa6] | 80 |
|
---|
[bdc08c1] | 81 | <sect4><title>logoutd</title>
|
---|
[53ad30a] | 82 | <para>logoutd enforces the login time and port restrictions specified in
|
---|
[bdc08c1] | 83 | /etc/porttime.</para></sect4>
|
---|
[6370fa6] | 84 |
|
---|
[bdc08c1] | 85 | <sect4><title>mkpasswd</title>
|
---|
[b822811] | 86 | <para>mkpasswd reads a file in the format given by the flags and converts it
|
---|
[bdc08c1] | 87 | to the corresponding database file format.</para></sect4>
|
---|
| 88 |
|
---|
| 89 | <sect4><title>newgrp</title>
|
---|
| 90 | <para>newgrp is used to change the current group ID during a
|
---|
| 91 | login session.</para></sect4>
|
---|
[6370fa6] | 92 |
|
---|
[bdc08c1] | 93 | <sect4><title>newusers</title>
|
---|
[b822811] | 94 | <para>newusers reads a file of user name and clear text password pairs and uses
|
---|
| 95 | this information to update a group of existing users or to create new
|
---|
[bdc08c1] | 96 | users.</para></sect4>
|
---|
[6370fa6] | 97 |
|
---|
[bdc08c1] | 98 | <sect4><title>passwd</title>
|
---|
| 99 | <para>passwd changes passwords for user and group accounts.</para></sect4>
|
---|
| 100 |
|
---|
| 101 | <sect4><title>pwck</title>
|
---|
[19c068f] | 102 | <para>pwck verifies the integrity of the password files.</para></sect4>
|
---|
[6370fa6] | 103 |
|
---|
[bdc08c1] | 104 | <sect4><title>pwconv</title>
|
---|
[19c068f] | 105 | <para>pwconv converts the normal password file
|
---|
| 106 | to a shadowed password file.</para></sect4>
|
---|
[bdc08c1] | 107 |
|
---|
| 108 | <sect4><title>pwunconv</title>
|
---|
[19c068f] | 109 | <para>pwunconv converts a shadowed password file
|
---|
| 110 | to a normal password file.</para></sect4>
|
---|
[bdc08c1] | 111 |
|
---|
| 112 | <sect4><title>sg</title>
|
---|
[19c068f] | 113 | <para>sg sets the user's GID to that of the given group, or executes a
|
---|
| 114 | given command as member of the given group.</para></sect4>
|
---|
[6370fa6] | 115 |
|
---|
[bdc08c1] | 116 | <sect4><title>useradd</title>
|
---|
[6a9875d] | 117 | <para>useradd creates a new user or updates default new user
|
---|
[bdc08c1] | 118 | information.</para></sect4>
|
---|
[6370fa6] | 119 |
|
---|
[bdc08c1] | 120 | <sect4><title>userdel</title>
|
---|
[b822811] | 121 | <para>userdel modifies the system account files, deleting all entries that
|
---|
[bdc08c1] | 122 | refer to a specified login name.</para></sect4>
|
---|
[6370fa6] | 123 |
|
---|
[bdc08c1] | 124 | <sect4><title>usermod</title>
|
---|
[b822811] | 125 | <para>usermod modifies the system account files to reflect the changes that
|
---|
[bdc08c1] | 126 | are specified on the command line.</para></sect4>
|
---|
[6370fa6] | 127 |
|
---|
[bdc08c1] | 128 | <sect4><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
|
---|
[2c094d6] | 131 | those files, /etc/shadow and /etc/gshadow, respectively.</para></sect4>
|
---|
[bdc08c1] | 132 |
|
---|
| 133 | </sect3>
|
---|
| 134 |
|
---|
| 135 | <sect3><title>Library Files</title>
|
---|
[96df9055] | 136 | <para>libmisc.[a,so], libshadow.[a,so]</para></sect3>
|
---|
[bdc08c1] | 137 |
|
---|
| 138 | <sect3><title>Descriptions</title>
|
---|
| 139 |
|
---|
[96df9055] | 140 | <sect4><title>libmisc</title>
|
---|
| 141 | <para>No description is currently available.</para></sect4>
|
---|
| 142 |
|
---|
[bdc08c1] | 143 | <sect4><title>libshadow</title>
|
---|
| 144 | <para>libshadow provides common functionality for the shadow
|
---|
| 145 | programs.</para></sect4>
|
---|
| 146 |
|
---|
| 147 | </sect3>
|
---|
[6370fa6] | 148 |
|
---|
| 149 | </sect2>
|
---|