[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[c2133bc] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[673b0d8] | 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 | ]>
|
---|
[752f4e5] | 6 | <sect1 id="ch-system-shadow" role="wrap">
|
---|
[673b0d8] | 7 | <title>Shadow-&shadow-version;</title>
|
---|
| 8 | <?dbhtml filename="shadow.html"?>
|
---|
| 9 |
|
---|
| 10 | <indexterm zone="ch-system-shadow"><primary sortas="a-Shadow">Shadow</primary></indexterm>
|
---|
[6370fa6] | 11 |
|
---|
[a001133] | 12 | <sect2 role="package"><title/>
|
---|
[5888299] | 13 | <para>The Shadow package contains programs for handling passwords in a secure
|
---|
| 14 | way.</para>
|
---|
| 15 |
|
---|
[a001133] | 16 | <segmentedlist>
|
---|
| 17 | <segtitle>&buildtime;</segtitle>
|
---|
| 18 | <segtitle>&diskspace;</segtitle>
|
---|
| 19 | <seglistitem><seg>0.4 SBU</seg><seg>11 MB</seg></seglistitem>
|
---|
| 20 | </segmentedlist>
|
---|
[673b0d8] | 21 |
|
---|
[a001133] | 22 | <segmentedlist>
|
---|
[a0e1913] | 23 | <segtitle>&dependencies;</segtitle>
|
---|
[a001133] | 24 | <seglistitem><seg>Bash, Binutils, Bison, Coreutils,
|
---|
[69993f4] | 25 | Diffutils, GCC, Gettext, Glibc, Grep, Make, and Sed</seg></seglistitem>
|
---|
[a001133] | 26 | </segmentedlist>
|
---|
| 27 | </sect2>
|
---|
[3554fa3a] | 28 |
|
---|
[a001133] | 29 | <sect2 role="installation">
|
---|
[73aedd1d] | 30 | <title>Installation of Shadow</title>
|
---|
| 31 |
|
---|
[6820da0] | 32 | <para>Prepare Shadow for compilation:</para>
|
---|
[73aedd1d] | 33 |
|
---|
[d0a6c4c] | 34 | <screen><userinput>./configure --libdir=/usr/lib --enable-shared</userinput></screen>
|
---|
[73aedd1d] | 35 |
|
---|
[4917d0c0] | 36 | <para>Remove the installation of the groups program, and it's man page:</para>
|
---|
| 37 |
|
---|
| 38 | <screen><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile
|
---|
| 39 | sed -i '/groups/d' man/Makefile</userinput></screen>
|
---|
| 40 |
|
---|
[73aedd1d] | 41 | <para>Compile the package:</para>
|
---|
| 42 |
|
---|
| 43 | <screen><userinput>make</userinput></screen>
|
---|
| 44 |
|
---|
[ef13657] | 45 | <para>Install the package:</para>
|
---|
[73aedd1d] | 46 |
|
---|
| 47 | <screen><userinput>make install</userinput></screen>
|
---|
| 48 |
|
---|
[b7e8981] | 49 | <para id="shadow-limits-login_access">Shadow uses two files to configure
|
---|
| 50 | authentication settings for the system. Install these two config files:</para>
|
---|
| 51 |
|
---|
[a75acee] | 52 | <indexterm zone="shadow-limits-login_access"><primary sortas="e-/etc/limits">/etc/limits</primary></indexterm>
|
---|
[b7e8981] | 53 | <indexterm zone="shadow-limits-login_access"><primary sortas="e-/etc/login.access">/etc/login.access</primary></indexterm>
|
---|
[73aedd1d] | 54 |
|
---|
| 55 | <screen><userinput>cp etc/{limits,login.access} /etc</userinput></screen>
|
---|
| 56 |
|
---|
[b48b8c5] | 57 |
|
---|
[b7e8981] | 58 | <para id="shadow-login_defs">Instead of using the default <emphasis>crypt</emphasis> method,
|
---|
[ef13657] | 59 | use the more secure <emphasis>MD5</emphasis> method of password
|
---|
| 60 | encryption, which also allows passwords longer than 8 characters. It
|
---|
| 61 | is also necessary to change the obsolete <filename
|
---|
| 62 | class="directory">/var/spool/mail</filename> location for user
|
---|
| 63 | mailboxes that Shadow uses by default to the <filename
|
---|
| 64 | class="directory">/var/mail</filename> location used currently. Both
|
---|
| 65 | of these can be accomplished by changing the relevant configuration
|
---|
| 66 | file while copying it to its destination:</para>
|
---|
[c21999c6] | 67 |
|
---|
[b7e8981] | 68 | <indexterm zone="shadow-login_defs"><primary sortas="e-/etc/login.defs">/etc/login.defs</primary></indexterm>
|
---|
| 69 |
|
---|
[2ec4b60] | 70 | <screen><userinput>cp etc/login.defs.linux /etc/login.defs
|
---|
| 71 | sed -i -e 's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \
|
---|
[8dffa04] | 72 | -e 's@/var/spool/mail@/var/mail@' /etc/login.defs</userinput></screen>
|
---|
[73aedd1d] | 73 |
|
---|
[407d336] | 74 | <para>Move a misplaced program to their proper
|
---|
| 75 | location:</para>
|
---|
[73aedd1d] | 76 |
|
---|
[407d336] | 77 | <screen><userinput>mv /usr/bin/passwd /bin</userinput></screen>
|
---|
[73aedd1d] | 78 |
|
---|
[ef13657] | 79 | <para>Move Shadow's dynamic libraries to a more appropriate
|
---|
| 80 | location:</para>
|
---|
[73aedd1d] | 81 |
|
---|
[407d336] | 82 | <screen><userinput>mv /usr/lib/libshadow.so.0* /lib</userinput></screen>
|
---|
[73aedd1d] | 83 |
|
---|
[ef13657] | 84 | <para>Because some packages expect to find the just-moved libraries in
|
---|
| 85 | <filename class="directory">/usr/lib</filename>, create the following
|
---|
[407d336] | 86 | symlink:</para>
|
---|
[73aedd1d] | 87 |
|
---|
[407d336] | 88 | <screen><userinput>ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
|
---|
[73aedd1d] | 89 |
|
---|
[ef13657] | 90 | <para>The <parameter>-D</parameter> option of the
|
---|
| 91 | <command>useradd</command> program requires the <filename
|
---|
| 92 | class="directory">/etc/default</filename> directory for it to work
|
---|
| 93 | properly:</para>
|
---|
[638a816e] | 94 |
|
---|
| 95 | <screen><userinput>mkdir /etc/default</userinput></screen>
|
---|
| 96 |
|
---|
[73aedd1d] | 97 | </sect2>
|
---|
[24351aa] | 98 |
|
---|
[2309b72] | 99 |
|
---|
[df8334f] | 100 | <sect2 id="conf-shadow" role="configuration"><title>Configuring Shadow</title>
|
---|
[673b0d8] | 101 | <indexterm zone="conf-shadow">
|
---|
| 102 | <primary sortas="a-Shadow">Shadow</primary>
|
---|
| 103 | <secondary>configuring</secondary></indexterm>
|
---|
[2309b72] | 104 |
|
---|
[ef13657] | 105 | <para>This package contains utilities to add, modify, and delete users
|
---|
| 106 | and groups; set and change their passwords; and perform other
|
---|
| 107 | administrative tasks. For a full explanation of what
|
---|
| 108 | <emphasis>password shadowing</emphasis> means, see the
|
---|
| 109 | <filename>doc/HOWTO</filename> file within the unpacked source tree.
|
---|
| 110 | If using Shadow support, keep in mind that programs which need to
|
---|
[69993f4] | 111 | verify passwords (display managers, FTP programs, pop3 daemons, etc.)
|
---|
| 112 | must be shadow-compliant. That is, they need to be able to work with
|
---|
[ef13657] | 113 | shadowed passwords.</para>
|
---|
[2309b72] | 114 |
|
---|
| 115 | <para>To enable shadowed passwords, run the following command:</para>
|
---|
| 116 |
|
---|
[cd1ddd7] | 117 | <screen><userinput>pwconv</userinput></screen>
|
---|
[2309b72] | 118 |
|
---|
[673b0d8] | 119 | <para>To enable shadowed group passwords, run:</para>
|
---|
[2309b72] | 120 |
|
---|
[cd1ddd7] | 121 | <screen><userinput>grpconv</userinput></screen>
|
---|
[2309b72] | 122 |
|
---|
[ef13657] | 123 | <para>Under normal circumstances, passwords will not have been created
|
---|
| 124 | yet. However, if returning to this section later to enable shadowing,
|
---|
| 125 | reset any current user passwords with the <command>passwd</command>
|
---|
| 126 | command or any group passwords with the <command>gpasswd</command>
|
---|
| 127 | command.</para>
|
---|
[c21999c6] | 128 |
|
---|
[2309b72] | 129 | </sect2>
|
---|
| 130 |
|
---|
[c21999c6] | 131 |
|
---|
[df8334f] | 132 | <sect2 role="configuration">
|
---|
[2309b72] | 133 | <title>Setting the root password</title>
|
---|
| 134 |
|
---|
[ef13657] | 135 | <para>Choose a password for user <emphasis>root</emphasis> and set it
|
---|
| 136 | by running:</para>
|
---|
[2309b72] | 137 |
|
---|
| 138 | <screen><userinput>passwd root</userinput></screen>
|
---|
[b48b8c5] | 139 |
|
---|
[2309b72] | 140 | </sect2>
|
---|
[24351aa] | 141 |
|
---|
[5888299] | 142 |
|
---|
[c6cb3aa] | 143 | <sect2 id="contents-shadow" role="content"><title>Contents of Shadow</title>
|
---|
[673b0d8] | 144 |
|
---|
[c6cb3aa] | 145 | <segmentedlist>
|
---|
| 146 | <segtitle>Installed programs</segtitle>
|
---|
[69993f4] | 147 | <segtitle>Installed libraries</segtitle>
|
---|
[35ee31b] | 148 | <seglistitem><seg>chage, chfn, chpasswd, chsh, expiry, faillog, gpasswd,
|
---|
| 149 | groupadd, groupdel, groupmod, groups, grpck, grpconv, grpunconv, lastlog, login,
|
---|
| 150 | logoutd, mkpasswd, newgrp, newusers, passwd, pwck, pwconv, pwunconv, sg
|
---|
[69993f4] | 151 | (link to newgrp), useradd, userdel, usermod, vigr (link to vipw), and vipw</seg>
|
---|
| 152 | <seg>libshadow[.a,so]</seg>
|
---|
[35ee31b] | 153 | </seglistitem>
|
---|
[c6cb3aa] | 154 | </segmentedlist>
|
---|
[673b0d8] | 155 |
|
---|
[2256873] | 156 | <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
[3ed279f] | 157 | <?dbfo list-presentation="list"?>
|
---|
[c5f9180] | 158 | <?dbhtml list-presentation="table"?>
|
---|
[673b0d8] | 159 |
|
---|
[b8a819f] | 160 | <varlistentry id="chage">
|
---|
| 161 | <term><command>chage</command></term>
|
---|
[c6cb3aa] | 162 | <listitem>
|
---|
[2256873] | 163 | <para>Used to change the maximum number of days between obligatory
|
---|
| 164 | password changes</para>
|
---|
[3ed279f] | 165 | <indexterm zone="ch-system-shadow chage"><primary sortas="b-chage">chage</primary></indexterm>
|
---|
[c6cb3aa] | 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
[673b0d8] | 168 |
|
---|
[b8a819f] | 169 | <varlistentry id="chfn">
|
---|
| 170 | <term><command>chfn</command></term>
|
---|
[c6cb3aa] | 171 | <listitem>
|
---|
[2256873] | 172 | <para>Used to change a user's full name and other info</para>
|
---|
[3ed279f] | 173 | <indexterm zone="ch-system-shadow chfn"><primary sortas="b-chfn">chfn</primary></indexterm>
|
---|
[c6cb3aa] | 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
[673b0d8] | 176 |
|
---|
[b8a819f] | 177 | <varlistentry id="chpasswd">
|
---|
| 178 | <term><command>chpasswd</command></term>
|
---|
[c6cb3aa] | 179 | <listitem>
|
---|
[2256873] | 180 | <para>Used to update the passwords of an entire series of user
|
---|
| 181 | accounts</para>
|
---|
[3ed279f] | 182 | <indexterm zone="ch-system-shadow chpasswd"><primary sortas="b-chpasswd">chpasswd</primary></indexterm>
|
---|
[c6cb3aa] | 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
[673b0d8] | 185 |
|
---|
[b8a819f] | 186 | <varlistentry id="chsh">
|
---|
| 187 | <term><command>chsh</command></term>
|
---|
[c6cb3aa] | 188 | <listitem>
|
---|
[2256873] | 189 | <para>Used to change a user's default login shell</para>
|
---|
[3ed279f] | 190 | <indexterm zone="ch-system-shadow chsh"><primary sortas="b-chsh">chsh</primary></indexterm>
|
---|
[c6cb3aa] | 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
[673b0d8] | 193 |
|
---|
[b8a819f] | 194 | <varlistentry id="expiry">
|
---|
| 195 | <term><command>expiry</command></term>
|
---|
[c6cb3aa] | 196 | <listitem>
|
---|
[2256873] | 197 | <para>Checks and enforces the current password expiration policy</para>
|
---|
[3ed279f] | 198 | <indexterm zone="ch-system-shadow expiry"><primary sortas="b-expiry">expiry</primary></indexterm>
|
---|
[c6cb3aa] | 199 | </listitem>
|
---|
| 200 | </varlistentry>
|
---|
[673b0d8] | 201 |
|
---|
[b8a819f] | 202 | <varlistentry id="faillog">
|
---|
| 203 | <term><command>faillog</command></term>
|
---|
[c6cb3aa] | 204 | <listitem>
|
---|
[2256873] | 205 | <para>Is used to examine the log of login failures, to set a maximum number of
|
---|
| 206 | failures before an account is blocked, or to reset the failure count</para>
|
---|
[3ed279f] | 207 | <indexterm zone="ch-system-shadow faillog"><primary sortas="b-faillog">faillog</primary></indexterm>
|
---|
[c6cb3aa] | 208 | </listitem>
|
---|
| 209 | </varlistentry>
|
---|
| 210 |
|
---|
[b8a819f] | 211 | <varlistentry id="gpasswd">
|
---|
| 212 | <term><command>gpasswd</command></term>
|
---|
[c6cb3aa] | 213 | <listitem>
|
---|
[2256873] | 214 | <para>Is used to add and delete members and administrators to groups</para>
|
---|
[3ed279f] | 215 | <indexterm zone="ch-system-shadow gpasswd"><primary sortas="b-gpasswd">gpasswd</primary></indexterm>
|
---|
[c6cb3aa] | 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
[673b0d8] | 218 |
|
---|
[b8a819f] | 219 | <varlistentry id="groupadd">
|
---|
| 220 | <term><command>groupadd</command></term>
|
---|
[c6cb3aa] | 221 | <listitem>
|
---|
[2256873] | 222 | <para>Creates a group with the given name</para>
|
---|
[3ed279f] | 223 | <indexterm zone="ch-system-shadow groupadd"><primary sortas="b-groupadd">groupadd</primary></indexterm>
|
---|
[c6cb3aa] | 224 | </listitem>
|
---|
| 225 | </varlistentry>
|
---|
[673b0d8] | 226 |
|
---|
[b8a819f] | 227 | <varlistentry id="groupdel">
|
---|
| 228 | <term><command>groupdel</command></term>
|
---|
[c6cb3aa] | 229 | <listitem>
|
---|
[2256873] | 230 | <para>Deletes the group with the given name</para>
|
---|
[3ed279f] | 231 | <indexterm zone="ch-system-shadow groupdel"><primary sortas="b-groupdel">groupdel</primary></indexterm>
|
---|
[c6cb3aa] | 232 | </listitem>
|
---|
| 233 | </varlistentry>
|
---|
[673b0d8] | 234 |
|
---|
[b8a819f] | 235 | <varlistentry id="groupmod">
|
---|
| 236 | <term><command>groupmod</command></term>
|
---|
[c6cb3aa] | 237 | <listitem>
|
---|
[2256873] | 238 | <para>Is used to modify the given group's name or GID</para>
|
---|
[3ed279f] | 239 | <indexterm zone="ch-system-shadow groupmod"><primary sortas="b-groupmod">groupmod</primary></indexterm>
|
---|
[c6cb3aa] | 240 | </listitem>
|
---|
| 241 | </varlistentry>
|
---|
[673b0d8] | 242 |
|
---|
[b8a819f] | 243 | <varlistentry id="groups">
|
---|
| 244 | <term><command>groups</command></term>
|
---|
[c6cb3aa] | 245 | <listitem>
|
---|
[2256873] | 246 | <para>Reports the groups of which the given users are members</para>
|
---|
[3ed279f] | 247 | <indexterm zone="ch-system-shadow groups"><primary sortas="b-groups">groups</primary></indexterm>
|
---|
[c6cb3aa] | 248 | </listitem>
|
---|
| 249 | </varlistentry>
|
---|
[673b0d8] | 250 |
|
---|
[b8a819f] | 251 | <varlistentry id="grpck">
|
---|
| 252 | <term><command>grpck</command></term>
|
---|
[c6cb3aa] | 253 | <listitem>
|
---|
[2256873] | 254 | <para>Verifies the integrity of the group files <filename>/etc/group</filename>
|
---|
| 255 | and <filename>/etc/gshadow</filename></para>
|
---|
[b7e8981] | 256 | <indexterm zone="ch-system-shadow grpck"><primary sortas="b-grpck">grpck</primary></indexterm>
|
---|
[c6cb3aa] | 257 | </listitem>
|
---|
| 258 | </varlistentry>
|
---|
| 259 |
|
---|
[b8a819f] | 260 | <varlistentry id="grpconv">
|
---|
| 261 | <term><command>grpconv</command></term>
|
---|
[c6cb3aa] | 262 | <listitem>
|
---|
[2256873] | 263 | <para>Creates or updates the shadow group file from the normal group file</para>
|
---|
[3ed279f] | 264 | <indexterm zone="ch-system-shadow grpconv"><primary sortas="b-grpconv">grpconv</primary></indexterm>
|
---|
[c6cb3aa] | 265 | </listitem>
|
---|
| 266 | </varlistentry>
|
---|
[673b0d8] | 267 |
|
---|
[b8a819f] | 268 | <varlistentry id="grpunconv">
|
---|
| 269 | <term><command>grpunconv</command></term>
|
---|
[c6cb3aa] | 270 | <listitem>
|
---|
[2256873] | 271 | <para>Updates <filename>/etc/group</filename>
|
---|
| 272 | from <filename>/etc/gshadow</filename> and then deletes the latter</para>
|
---|
[3ed279f] | 273 | <indexterm zone="ch-system-shadow grpunconv"><primary sortas="b-grpunconv">grpunconv</primary></indexterm>
|
---|
[c6cb3aa] | 274 | </listitem>
|
---|
| 275 | </varlistentry>
|
---|
[673b0d8] | 276 |
|
---|
[b8a819f] | 277 | <varlistentry id="lastlog">
|
---|
| 278 | <term><command>lastlog</command></term>
|
---|
[c6cb3aa] | 279 | <listitem>
|
---|
[2256873] | 280 | <para>Reports the most recent login of all users or of a given user</para>
|
---|
[3ed279f] | 281 | <indexterm zone="ch-system-shadow lastlog"><primary sortas="b-lastlog">lastlog</primary></indexterm>
|
---|
[c6cb3aa] | 282 | </listitem>
|
---|
| 283 | </varlistentry>
|
---|
[73aedd1d] | 284 |
|
---|
[b8a819f] | 285 | <varlistentry id="login">
|
---|
| 286 | <term><command>login</command></term>
|
---|
[c6cb3aa] | 287 | <listitem>
|
---|
[2256873] | 288 | <para>Is used by the system to let users sign on</para>
|
---|
[3ed279f] | 289 | <indexterm zone="ch-system-shadow login"><primary sortas="b-login">login</primary></indexterm>
|
---|
[c6cb3aa] | 290 | </listitem>
|
---|
| 291 | </varlistentry>
|
---|
[673b0d8] | 292 |
|
---|
[b8a819f] | 293 | <varlistentry id="logoutd">
|
---|
| 294 | <term><command>logoutd</command></term>
|
---|
[c6cb3aa] | 295 | <listitem>
|
---|
[2256873] | 296 | <para>Is a daemon used to enforce restrictions on log-on time and ports</para>
|
---|
[3ed279f] | 297 | <indexterm zone="ch-system-shadow logoutd"><primary sortas="b-logoutd">logoutd</primary></indexterm>
|
---|
[c6cb3aa] | 298 | </listitem>
|
---|
| 299 | </varlistentry>
|
---|
[673b0d8] | 300 |
|
---|
[b8a819f] | 301 | <varlistentry id="mkpasswd">
|
---|
| 302 | <term><command>mkpasswd</command></term>
|
---|
[c6cb3aa] | 303 | <listitem>
|
---|
[2256873] | 304 | <para>Generates random passwords</para>
|
---|
[3ed279f] | 305 | <indexterm zone="ch-system-shadow mkpasswd"><primary sortas="b-mkpasswd">mkpasswd</primary></indexterm>
|
---|
[c6cb3aa] | 306 | </listitem>
|
---|
| 307 | </varlistentry>
|
---|
[673b0d8] | 308 |
|
---|
[b8a819f] | 309 | <varlistentry id="newgrp">
|
---|
| 310 | <term><command>newgrp</command></term>
|
---|
[c6cb3aa] | 311 | <listitem>
|
---|
[2256873] | 312 | <para>Is used to change the current GID during a login session</para>
|
---|
[3ed279f] | 313 | <indexterm zone="ch-system-shadow newgrp"><primary sortas="b-newgrp">newgrp</primary></indexterm>
|
---|
[c6cb3aa] | 314 | </listitem>
|
---|
| 315 | </varlistentry>
|
---|
[673b0d8] | 316 |
|
---|
[b8a819f] | 317 | <varlistentry id="newusers">
|
---|
| 318 | <term><command>newusers</command></term>
|
---|
[c6cb3aa] | 319 | <listitem>
|
---|
[2256873] | 320 | <para>Is used to create or update an entire series of user accounts</para>
|
---|
[3ed279f] | 321 | <indexterm zone="ch-system-shadow newusers"><primary sortas="b-newusers">newusers</primary></indexterm>
|
---|
[c6cb3aa] | 322 | </listitem>
|
---|
| 323 | </varlistentry>
|
---|
[673b0d8] | 324 |
|
---|
[b8a819f] | 325 | <varlistentry id="passwd">
|
---|
| 326 | <term><command>passwd</command></term>
|
---|
[c6cb3aa] | 327 | <listitem>
|
---|
[2256873] | 328 | <para>Is used to change the password for a user or group account</para>
|
---|
[3ed279f] | 329 | <indexterm zone="ch-system-shadow passwd"><primary sortas="b-passwd">passwd</primary></indexterm>
|
---|
[c6cb3aa] | 330 | </listitem>
|
---|
| 331 | </varlistentry>
|
---|
[673b0d8] | 332 |
|
---|
[b8a819f] | 333 | <varlistentry id="pwck">
|
---|
| 334 | <term><command>pwck</command></term>
|
---|
[c6cb3aa] | 335 | <listitem>
|
---|
[2256873] | 336 | <para>Verifies the integrity of the password files
|
---|
| 337 | <filename>/etc/passwd</filename> and <filename>/etc/shadow</filename></para>
|
---|
[3ed279f] | 338 | <indexterm zone="ch-system-shadow pwck"><primary sortas="b-pwck">pwck</primary></indexterm>
|
---|
[c6cb3aa] | 339 | </listitem>
|
---|
| 340 | </varlistentry>
|
---|
[673b0d8] | 341 |
|
---|
[b8a819f] | 342 | <varlistentry id="pwconv">
|
---|
| 343 | <term><command>pwconv</command></term>
|
---|
[c6cb3aa] | 344 | <listitem>
|
---|
[2256873] | 345 | <para>Creates or updates the shadow password file from the normal
|
---|
| 346 | password file</para>
|
---|
[3ed279f] | 347 | <indexterm zone="ch-system-shadow pwconv"><primary sortas="b-pwconv">pwconv</primary></indexterm>
|
---|
[c6cb3aa] | 348 | </listitem>
|
---|
| 349 | </varlistentry>
|
---|
[673b0d8] | 350 |
|
---|
[b8a819f] | 351 | <varlistentry id="pwunconv">
|
---|
| 352 | <term><command>pwunconv</command></term>
|
---|
[c6cb3aa] | 353 | <listitem>
|
---|
[2256873] | 354 | <para>Updates <filename>/etc/passwd</filename>
|
---|
| 355 | from <filename>/etc/shadow</filename> and then deletes the latter</para>
|
---|
[3ed279f] | 356 | <indexterm zone="ch-system-shadow pwunconv"><primary sortas="b-pwunconv">pwunconv</primary></indexterm>
|
---|
[c6cb3aa] | 357 | </listitem>
|
---|
| 358 | </varlistentry>
|
---|
[673b0d8] | 359 |
|
---|
[b8a819f] | 360 | <varlistentry id="sg">
|
---|
| 361 | <term><command>sg</command></term>
|
---|
[c6cb3aa] | 362 | <listitem>
|
---|
[2256873] | 363 | <para>Executes a given command while the user's GID
|
---|
| 364 | is set to that of the given group</para>
|
---|
[3ed279f] | 365 | <indexterm zone="ch-system-shadow sg"><primary sortas="b-sg">sg</primary></indexterm>
|
---|
[c6cb3aa] | 366 | </listitem>
|
---|
| 367 | </varlistentry>
|
---|
[673b0d8] | 368 |
|
---|
[7624c05] | 369 | <varlistentry id="su">
|
---|
| 370 | <term><command>su</command></term>
|
---|
| 371 | <listitem>
|
---|
| 372 | <indexterm zone="ch-system-shadow su"><primary sortas="b-su">su</primary></indexterm>
|
---|
[2256873] | 373 | <para>Runs a shell with substitute user and group IDs</para>
|
---|
[7624c05] | 374 | </listitem>
|
---|
| 375 | </varlistentry>
|
---|
| 376 |
|
---|
[b8a819f] | 377 | <varlistentry id="useradd">
|
---|
| 378 | <term><command>useradd</command></term>
|
---|
[c6cb3aa] | 379 | <listitem>
|
---|
[2256873] | 380 | <para>Creates a new user with the given name, or updates the default
|
---|
| 381 | new-user information</para>
|
---|
[3ed279f] | 382 | <indexterm zone="ch-system-shadow useradd"><primary sortas="b-useradd">useradd</primary></indexterm>
|
---|
[c6cb3aa] | 383 | </listitem>
|
---|
| 384 | </varlistentry>
|
---|
[673b0d8] | 385 |
|
---|
[b8a819f] | 386 | <varlistentry id="userdel">
|
---|
| 387 | <term><command>userdel</command></term>
|
---|
[c6cb3aa] | 388 | <listitem>
|
---|
[2256873] | 389 | <para>Deletes the given user account</para>
|
---|
[3ed279f] | 390 | <indexterm zone="ch-system-shadow userdel"><primary sortas="b-userdel">userdel</primary></indexterm>
|
---|
[c6cb3aa] | 391 | </listitem>
|
---|
| 392 | </varlistentry>
|
---|
[673b0d8] | 393 |
|
---|
[b8a819f] | 394 | <varlistentry id="usermod">
|
---|
| 395 | <term><command>usermod</command></term>
|
---|
[c6cb3aa] | 396 | <listitem>
|
---|
[2256873] | 397 | <para>Is used to modify the given user's login name, User
|
---|
[69993f4] | 398 | Identification (UID),
|
---|
[ef13657] | 399 | shell, initial group, home directory, etc.</para>
|
---|
[3ed279f] | 400 | <indexterm zone="ch-system-shadow usermod"><primary sortas="b-usermod">usermod</primary></indexterm>
|
---|
[c6cb3aa] | 401 | </listitem>
|
---|
| 402 | </varlistentry>
|
---|
| 403 |
|
---|
[b8a819f] | 404 | <varlistentry id="vigr">
|
---|
| 405 | <term><command>vigr</command></term>
|
---|
[c6cb3aa] | 406 | <listitem>
|
---|
[2256873] | 407 | <para>Edits the <filename>/etc/group</filename> or
|
---|
| 408 | <filename>/etc/gshadow</filename> files</para>
|
---|
[3ed279f] | 409 | <indexterm zone="ch-system-shadow vigr"><primary sortas="b-vigr">vigr</primary></indexterm>
|
---|
[c6cb3aa] | 410 | </listitem>
|
---|
| 411 | </varlistentry>
|
---|
| 412 |
|
---|
[b8a819f] | 413 | <varlistentry id="vipw">
|
---|
| 414 | <term><command>vipw</command></term>
|
---|
[c6cb3aa] | 415 | <listitem>
|
---|
[2256873] | 416 | <para>Edits the <filename>/etc/passwd</filename> or
|
---|
| 417 | <filename>/etc/shadow</filename> files</para>
|
---|
[3ed279f] | 418 | <indexterm zone="ch-system-shadow vipw"><primary sortas="b-vipw">vipw</primary></indexterm>
|
---|
[c6cb3aa] | 419 | </listitem>
|
---|
| 420 | </varlistentry>
|
---|
| 421 |
|
---|
[b8a819f] | 422 | <varlistentry id="libshadow">
|
---|
[8ad7980] | 423 | <term><filename class="libraryfile">libshadow</filename></term>
|
---|
[c6cb3aa] | 424 | <listitem>
|
---|
[2256873] | 425 | <para>Contains functions used by most programs in this package</para>
|
---|
[3ed279f] | 426 | <indexterm zone="ch-system-shadow libshadow"><primary sortas="c-libshadow">libshadow</primary></indexterm>
|
---|
[c6cb3aa] | 427 | </listitem>
|
---|
| 428 | </varlistentry>
|
---|
| 429 | </variablelist>
|
---|
[673b0d8] | 430 |
|
---|
| 431 | </sect2>
|
---|
| 432 |
|
---|
| 433 | </sect1>
|
---|
[ef13657] | 434 |
|
---|