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