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