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