diff options
author | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-05-17 21:55:01 +0000 |
---|---|---|
committer | Manuel Canales Esparcia <manuel@linuxfromscratch.org> | 2004-05-17 21:55:01 +0000 |
commit | c6cb3aa2f176d65a5ebe77e7da82e20946188a98 (patch) | |
tree | 3167e42f874b5784307f02acc61a0570f31ccb38 /chapter06/shadow.xml | |
parent | 01b2724c70a6addd4e2190649c14a79be3a85090 (diff) |
HEAD: Retagged the Contents of ... sections.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3621 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/shadow.xml')
-rw-r--r-- | chapter06/shadow.xml | 293 |
1 files changed, 219 insertions, 74 deletions
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index d8ba3bb25..04f988a99 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -140,152 +140,297 @@ any group passwords with the <command>gpasswd</command> command.</para> </sect2> -<sect2 id="contents-shadow"><title>Contents of Shadow</title> +<sect2 id="contents-shadow" role="content"><title>Contents of Shadow</title> -<para><emphasis>Installed programs</emphasis>: chage, chfn, chpasswd, chsh, -dpasswd, expiry, faillog, gpasswd, groupadd, groupdel, groupmod, groups, grpck, -grpconv, grpunconv, lastlog, login, logoutd, mkpasswd, newgrp, newusers, -passwd, pwck, pwconv, pwunconv, sg (link to newgrp), useradd, userdel, usermod, -vigr (link to vipw) and vipw</para> - -</sect2> +<segmentedlist> +<segtitle>Installed programs</segtitle> +<seglistitem><seg>chage, chfn, chpasswd, chsh, dpasswd, expiry, faillog, +gpasswd, groupadd, groupdel, groupmod, groups, grpck, grpconv, grpunconv, +lastlog, login, logoutd, mkpasswd, newgrp, newusers, passwd, pwck, pwconv, +pwunconv, sg (link to newgrp), useradd, userdel, usermod, vigr (link to vipw) and +vipw</seg></seglistitem> +</segmentedlist> -<sect2><title>Short descriptions</title> +<variablelist><title>Short descriptions</title> +<varlistentry> +<term id="chage"><command>chage</command></term> +<listitem> <indexterm zone="ch-system-shadow chage"><primary sortas="b-chage">chage</primary></indexterm> -<para id="chage"><command>chage</command> is used to change the maximum number of +<para>is used to change the maximum number of days between obligatory password changes.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="chfn"><command>chfn</command></term> +<listitem> <indexterm zone="ch-system-shadow chfn"><primary sortas="b-chfn">chfn</primary></indexterm> -<para id="chfn"><command>chfn</command> is used to change a user's full name and -some other info.</para> +<para>is used to change a user's full name and some other info.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="chpasswd"><command>chpasswd</command></term> +<listitem> <indexterm zone="ch-system-shadow chpasswd"><primary sortas="b-chpasswd">chpasswd</primary></indexterm> -<para id="chpasswd"><command>chpasswd</command> is used to update the passwords of a +<para>is used to update the passwords of a whole series of user accounts in one go.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="chsh"><command>chsh</command></term> +<listitem> <indexterm zone="ch-system-shadow chsh"><primary sortas="b-chsh">chsh</primary></indexterm> -<para id="chsh"><command>chsh</command> is used to change a user's default - login shell.</para> +<para>is used to change a user's default login shell.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="dpasswd"><command>dpasswd</command></term> +<listitem> <indexterm zone="ch-system-shadow dpasswd"><primary sortas="b-dpasswd">dpasswd</primary></indexterm> -<para id="dpasswd"><command>dpasswd</command> is used to change dial-up passwords for -user login shells.</para> +<para>is used to change dial-up passwords for user login shells.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="expiry"><command>expiry</command></term> +<listitem> <indexterm zone="ch-system-shadow expiry"><primary sortas="b-expiry">expiry</primary></indexterm> -<para id="expiry"><command>expiry</command> checks and enforces the current password -expiration policy.</para> +<para>checks and enforces the current password expiration policy.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="faillog"><command>faillog</command></term> +<listitem> <indexterm zone="ch-system-shadow faillog"><primary sortas="b-faillog">faillog</primary></indexterm> -<para id="faillog"><command>faillog</command> is used to examine the log of login -failures, to set a maximum number of failures before an account is blocked, -or to reset the failure count.</para> - +<para>is used to examine the log of login failures, to set a maximum number of +failures before an account is blocked, or to reset the failure count.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="gpasswd"><command>gpasswd</command></term> +<listitem> <indexterm zone="ch-system-shadow gpasswd"><primary sortas="b-gpasswd">gpasswd</primary></indexterm> -<para id="gpasswd"><command>gpasswd</command> is used to add and delete members and -administrators to groups.</para> +<para>is used to add and delete members and administrators to groups.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="groupadd"><command>groupadd</command></term> +<listitem> <indexterm zone="ch-system-shadow groupadd"><primary sortas="b-groupadd">groupadd</primary></indexterm> -<para id="groupadd"><command>groupadd</command> creates a group with the given -name.</para> +<para>creates a group with the given name.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="groupdel"><command>groupdel</command></term> +<listitem> <indexterm zone="ch-system-shadow groupdel"><primary sortas="b-groupdel">groupdel</primary></indexterm> -<para id="groupdel"><command>groupdel</command> deletes the group with the given -name.</para> +<para>deletes the group with the given name.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="groupmod"><command>groupmod</command></term> +<listitem> <indexterm zone="ch-system-shadow groupmod"><primary sortas="b-groupmod">groupmod</primary></indexterm> -<para id="groupmod"><command>groupmod</command> is used to modify the given group's -name or GID.</para> +<para>is used to modify the given group's name or GID.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="groups"><command>groups</command></term> +<listitem> <indexterm zone="ch-system-shadow groups"><primary sortas="b-groups">groups</primary></indexterm> -<para id="groups"><command>groups</command> reports the groups of which the given -users are members.</para> +<para>reports the groups of which the given users are members.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="grpck"><command>grpck</command></term> +<listitem> <indexterm zone="ch-system-shadow grpck"><primary sortas="b-grpck">grpck</primary></indexterm> -<para id="grpck"><command>grpck</command> verifies the integrity of the group files, -<filename>/etc/group</filename> and <filename>/etc/gshadow</filename>.</para> - +<para>verifies the integrity of the group files, <filename>/etc/group</filename> +and <filename>/etc/gshadow</filename>.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="grpconv"><command>grpconv</command></term> +<listitem> <indexterm zone="ch-system-shadow grpconv"><primary sortas="b-grpconv">grpconv</primary></indexterm> -<para id="grpconv"><command>grpconv</command> creates or updates the shadow group file -from the normal group file.</para> +<para>creates or updates the shadow group file from the normal group file.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="grpunconv"><command>grpunconv</command></term> +<listitem> <indexterm zone="ch-system-shadow grpunconv"><primary sortas="b-grpunconv">grpunconv</primary></indexterm> -<para id="grpunconv"><command>grpunconv</command> updates <filename>/etc/group</filename> +<para>updates <filename>/etc/group</filename> from <filename>/etc/gshadow</filename> and then deletes the latter.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="lastlog"><command>lastlog</command></term> +<listitem> <indexterm zone="ch-system-shadow lastlog"><primary sortas="b-lastlog">lastlog</primary></indexterm> -<para id="lastlog"><command>lastlog</command> reports the most recent login of all -users, or of a given user.</para> +<para>reports the most recent login of all users, or of a given user.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="login"><command>login</command></term> +<listitem> <indexterm zone="ch-system-shadow login"><primary sortas="b-login">login</primary></indexterm> -<para id="login"><command>login</command> is used by the system to let users sign on.</para> +<para>is used by the system to let users sign on.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="logoutd"><command>logoutd</command></term> +<listitem> <indexterm zone="ch-system-shadow logoutd"><primary sortas="b-logoutd">logoutd</primary></indexterm> -<para id="logoutd"><command>logoutd</command> is a daemon used to enforce restrictions -on log-on time and ports.</para> +<para>is a daemon used to enforce restrictions on log-on time and ports.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="mkpasswd"><command>mkpasswd</command></term> +<listitem> <indexterm zone="ch-system-shadow mkpasswd"><primary sortas="b-mkpasswd">mkpasswd</primary></indexterm> -<para id="mkpasswd"><command>mkpasswd</command> encrypts the given password using the -also given perturbation.</para> +<para>encrypts the given password using the also given perturbation.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="newgrp"><command>newgrp</command></term> +<listitem> <indexterm zone="ch-system-shadow newgrp"><primary sortas="b-newgrp">newgrp</primary></indexterm> -<para id="newgrp"><command>newgrp</command> is used to change the current GID during -a login session.</para> +<para>is used to change the current GID during a login session.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="newusers"><command>newusers</command></term> +<listitem> <indexterm zone="ch-system-shadow newusers"><primary sortas="b-newusers">newusers</primary></indexterm> -<para id="newusers"><command>newusers</command> is used to create or update a whole -series of user accounts in one go.</para> +<para>is used to create or update a whole series of user accounts in one go.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="passwd"><command>passwd</command></term> +<listitem> <indexterm zone="ch-system-shadow passwd"><primary sortas="b-passwd">passwd</primary></indexterm> -<para id="passwd"><command>passwd</command> is used to change the password for a user -or group account.</para> +<para>is used to change the password for a user or group account.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="pwck"><command>pwck</command></term> +<listitem> <indexterm zone="ch-system-shadow pwck"><primary sortas="b-pwck">pwck</primary></indexterm> -<para id="pwck"><command>pwck</command> verifies the integrity of the password files, +<para>verifies the integrity of the password files, <filename>/etc/passwd</filename> and <filename>/etc/shadow</filename>.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="pwconv"><command>pwconv</command></term> +<listitem> <indexterm zone="ch-system-shadow pwconv"><primary sortas="b-pwconv">pwconv</primary></indexterm> -<para id="pwconv"><command>pwconv</command> creates or updates the shadow password file +<para>creates or updates the shadow password file from the normal password file.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="pwunconv"><command>pwunconv</command></term> +<listitem> <indexterm zone="ch-system-shadow pwunconv"><primary sortas="b-pwunconv">pwunconv</primary></indexterm> -<para id="pwunconv"><command>pwunconv</command> updates <filename>/etc/passwd</filename> +<para>updates <filename>/etc/passwd</filename> from <filename>/etc/shadow</filename> and then deletes the latter.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="sg"><command>sg</command></term> +<listitem> <indexterm zone="ch-system-shadow sg"><primary sortas="b-sg">sg</primary></indexterm> -<para id="sg"><command>sg</command> executes a given command while the user's GID +<para>executes a given command while the user's GID is set to that of the given group.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="useradd"><command>useradd</command></term> +<listitem> <indexterm zone="ch-system-shadow useradd"><primary sortas="b-useradd">useradd</primary></indexterm> -<para id="useradd"><command>useradd</command> creates a new user with the given name, +<para>creates a new user with the given name, or updates the default new-user information.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="userdel"><command>userdel</command></term> +<listitem> <indexterm zone="ch-system-shadow userdel"><primary sortas="b-userdel">userdel</primary></indexterm> -<para id="userdel"><command>userdel</command> deletes the given user account.</para> +<para>deletes the given user account.</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="usermod"><command>usermod</command></term> +<listitem> <indexterm zone="ch-system-shadow usermod"><primary sortas="b-usermod">usermod</primary></indexterm> -<para id="usermod"><command>usermod</command> is used to modify the given user's -login name, UID (User Identification), shell, initial group, home directory, and the like.</para> - +<para>is used to modify the given user's login name, UID (User Identification), +shell, initial group, home directory, and the like.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="vigr"><command>vigr</command></term> +<listitem> <indexterm zone="ch-system-shadow vigr"><primary sortas="b-vigr">vigr</primary></indexterm> -<para id="vigr"><command>vigr</command> can be used to edit the -<filename>/etc/group</filename> or <filename>/etc/gshadow</filename> -files.</para> - +<para>can be used to edit the <filename>/etc/group</filename> or +<filename>/etc/gshadow</filename> files.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="vipw"><command>vipw</command></term> +<listitem> <indexterm zone="ch-system-shadow vipw"><primary sortas="b-vipw">vipw</primary></indexterm> -<para id="vipw"><command>vipw</command> can be used to edit the -<filename>/etc/passwd</filename> or <filename>/etc/shadow</filename> -files.</para> - +<para>can be used to edit the <filename>/etc/passwd</filename> or +<filename>/etc/shadow</filename> files.</para> +</listitem> +</varlistentry> + +<varlistentry> +<term id="libmisc"><command>libmisc</command></term> +<listitem> <indexterm zone="ch-system-shadow libmisc"><primary sortas="c-libmisc">libmisc</primary></indexterm> -<para id="libmisc"><command>libmisc</command>...</para> +<para>...</para> +</listitem> +</varlistentry> +<varlistentry> +<term id="libshadow"><command>libshadow</command></term> +<listitem> <indexterm zone="ch-system-shadow libshadow"><primary sortas="c-libshadow">libshadow</primary></indexterm> -<para id="libshadow"><command>libshadow</command> contains functions used by most -programs in this package.</para> +<para>contains functions used by most programs in this package.</para> +</listitem> +</varlistentry> +</variablelist> </sect2> - - </sect1> |