source: appendixa/shadowpwd-desc.xml@ 92781558

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk v5_0 v5_1 v5_1_1 xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 92781558 was 978d0bf, checked in by Alex Gronenwoud <alex@…>, 21 years ago

Changing the style of the command descriptions in appendix A.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2879 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 3.9 KB
RevLine 
[487b8e6]1<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
[8fcc2c0]2
[487b8e6]3<sect2><title>Descriptions</title>
[6370fa6]4
[087e584]5<para>(Last checked against version &shadow-contversion;.)</para>
[6370fa6]6
[487b8e6]7<sect3><title>Program file descriptions</title>
[6370fa6]8
[978d0bf]9<para><command>chage</command> is used to change the maximum number of
10days between obligatory password changes.</para>
[6370fa6]11
[978d0bf]12<para><command>chfn</command> is used to change a user's full name and
13some other info.</para>
[6370fa6]14
[978d0bf]15<para><command>chpasswd</command> is used to update the passwords of a
16whole series of user accounts in one go.</para>
[6370fa6]17
[978d0bf]18<para><command>chsh</command> is used to change a user's default
19 login shell.</para>
[6370fa6]20
[978d0bf]21<para><command>dpasswd</command> is used to change dial-up passwords for
22user login shells.</para>
[6370fa6]23
[978d0bf]24<para><command>expiry</command> checks and enforces the current password
25expiration policy.</para>
[6370fa6]26
[978d0bf]27<para><command>faillog</command> is used to examine the log of login
28failures, to set a maximum number of failures before an account is blocked,
29or to reset the failure count.</para>
[6370fa6]30
[978d0bf]31<para><command>gpasswd</command> is used to add and delete members and
32administrators to groups.</para>
[6370fa6]33
[978d0bf]34<para><command>groupadd</command> creates a group with the given
35name.</para>
[6370fa6]36
[978d0bf]37<para><command>groupdel</command> deletes the group with the given
38name.</para>
[6370fa6]39
[978d0bf]40<para><command>groupmod</command> is used to modify the given group's
41name or GID.</para>
[6370fa6]42
[978d0bf]43<para><command>groups</command> reports the groups of which the given
44users are members.</para>
[96df9055]45
[978d0bf]46<para><command>grpck</command> verifies the integrity of the group files,
47<filename>/etc/group</filename> and <filename>/etc/gshadow</filename>.</para>
[6370fa6]48
[978d0bf]49<para><command>grpconv</command> creates or updates the shadow group file
50from the normal group file.</para>
[6370fa6]51
[978d0bf]52<para><command>grpunconv</command> updates <filename>/etc/group</filename>
53from <filename>/etc/gshadow</filename> and then deletes the latter.</para>
[6370fa6]54
[978d0bf]55<para><command>lastlog</command> reports the most recent login of all
56users, or of a given user.</para>
[6370fa6]57
[978d0bf]58<para><command>login</command> is used by the system let users sign on.</para>
[6370fa6]59
[978d0bf]60<para><command>logoutd</command> is a daemon used to enforce restrictions
61on log-on time and ports.</para>
[6370fa6]62
[978d0bf]63<para><command>mkpasswd</command> encrypts the given password using the
64also given perturbation.</para>
[bdc08c1]65
[978d0bf]66<para><command>newgrp</command> is used to change the current GID during
67a login session.</para>
[6370fa6]68
[978d0bf]69<para><command>newusers</command> is used to create or update a whole
70series of user accounts in one go.</para>
[6370fa6]71
[978d0bf]72<para><command>passwd</command> is used to change the password for a user
73or group account.</para>
[bdc08c1]74
[978d0bf]75<para><command>pwck</command> verifies the integrity of the password files,
76<filename>/etc/passwd</filename> and <filename>/etc/shadow</filename>.</para>
[6370fa6]77
[978d0bf]78<para><command>pwconv</command> creates or updates the shadow password file
79from the normal password file.</para>
[bdc08c1]80
[978d0bf]81<para><command>pwunconv</command> updates <filename>/etc/passwd</filename>
82from <filename>/etc/shadow</filename> and then deletes the latter.</para>
[bdc08c1]83
[978d0bf]84<para><command>sg</command> executes a given command while the user's GID
85is set to that of the given group.</para>
[6370fa6]86
[978d0bf]87<para><command>useradd</command> creates a new user with the given name,
88or updates the default new-user information.</para>
[6370fa6]89
[978d0bf]90<para><command>userdel</command> deletes the given user account.</para>
[6370fa6]91
[978d0bf]92<para><command>usermod</command> is used to modify the given user's
93login name, UID, shell, initial group, home directory, and the like.</para>
[6370fa6]94
[978d0bf]95<para><command>vigr</command> can be used to edit the
96<filename>/etc/group</filename> or <filename>/etc/gshadow</filename>
97files.</para>
98
99<para><command>vipw</command> can be used to edit the
100<filename>/etc/passwd</filename> or <filename>/etc/shadow</filename>
101files.</para>
[bdc08c1]102
103</sect3>
104
[487b8e6]105<sect3><title>Library file descriptions</title>
[bdc08c1]106
[978d0bf]107<para><command>libmisc</command>...</para>
[96df9055]108
[978d0bf]109<para><command>libshadow</command> contains functions used by most
110programs in this package.</para>
[bdc08c1]111
112</sect3>
[6370fa6]113
114</sect2>
[978d0bf]115
Note: See TracBrowser for help on using the repository browser.