[svn-upgrade] Integrating new upstream version, shadow (4.0.10)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd">
|
||||
<refentry id='chage.1'>
|
||||
<!-- $Id: chage.1.xml,v 1.7 2005/04/26 12:31:14 kloczek Exp $ -->
|
||||
<!-- $Id: chage.1.xml,v 1.10 2005/06/15 12:39:27 kloczek Exp $ -->
|
||||
<refmeta>
|
||||
<refentrytitle>chage</refentrytitle>
|
||||
<manvolnum>1</manvolnum>
|
||||
@@ -14,20 +14,11 @@
|
||||
</refnamediv>
|
||||
<refsynopsisdiv id='synopsis'>
|
||||
<cmdsynopsis>
|
||||
<command>chage</command>
|
||||
<arg choice='opt'>-m <replaceable>mindays</replaceable></arg>
|
||||
<arg choice='opt'>-M <replaceable>maxdays</replaceable></arg>
|
||||
<arg choice='opt'>-d <replaceable>lastday</replaceable></arg>
|
||||
<arg choice='opt'>-I <replaceable>inactive</replaceable></arg>
|
||||
<sbr/>
|
||||
<arg choice='opt'>-E <replaceable>expiredate</replaceable></arg>
|
||||
<arg choice='opt'>-W <replaceable>warndays</replaceable></arg>
|
||||
<arg choice='plain'><replaceable>user</replaceable></arg>
|
||||
</cmdsynopsis>
|
||||
<cmdsynopsis>
|
||||
<command>chage</command>
|
||||
<arg choice='plain'>-l <replaceable>user</replaceable>
|
||||
<command>chage</command>
|
||||
<arg choice='opt'>
|
||||
<replaceable>options</replaceable>
|
||||
</arg>
|
||||
<arg choice='plain'><replaceable>user</replaceable></arg>
|
||||
</cmdsynopsis>
|
||||
</refsynopsisdiv>
|
||||
|
||||
@@ -38,11 +29,6 @@
|
||||
This information is used by the system to determine when a user must
|
||||
change her password.
|
||||
</para>
|
||||
<para>The <command>chage</command> command is restricted to the root
|
||||
user, except for the <option>-l</option> option, which may be used by
|
||||
an unprivileged user to determine when her password or account is due
|
||||
to expire.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 id='options'>
|
||||
@@ -53,7 +39,7 @@
|
||||
<variablelist remap='IP'>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>-d</option> <replaceable>lastday</replaceable>
|
||||
<option>-d</option>, <option>--lastday</option> <replaceable>LAST_DAY</replaceable>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
@@ -65,31 +51,31 @@
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>-E</option> <replaceable>expiredate</replaceable>
|
||||
<option>-E</option>, <option>--expiredate</option> <replaceable>EXPIRE_DATE</replaceable>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>Set the date on which the user's account will no longer be
|
||||
accessible. The <emphasis remap='I'>expiredate</emphasis> option
|
||||
accessible. The <emphasis remap='I'>EXPIRE_DATE</emphasis> option
|
||||
is the number of days since January 1, 1970 on which the
|
||||
accounted is locked. The date may also be expressed in the
|
||||
format YYYY-MM-DD (or the format more commonly used in your
|
||||
area). A user whose account is locked must contact the system
|
||||
administrator before being able to use the system again. Passing
|
||||
the number <emphasis remap='I'>-1</emphasis> as the <emphasis
|
||||
remap='I'>expiredate</emphasis> will remove an accounts
|
||||
remap='I'>EXPIRE_DATE</emphasis> will remove an accounts
|
||||
expiration date.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>-I</option> <replaceable>inactive</replaceable>
|
||||
<option>-I</option>, <option>--inactive</option> <replaceable>INACTIVE</replaceable>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Set the number of days of inactivity after a password has
|
||||
expired before the account is locked. The <emphasis
|
||||
remap='I'>inactive</emphasis> option is the number of days of
|
||||
remap='I'>INACTIVE</emphasis> option is the number of days of
|
||||
inactivity. A value of 0 disables this feature. A user whose
|
||||
account is locked must contact the system administrator before
|
||||
being able to use the system again.
|
||||
@@ -98,7 +84,17 @@
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>-m</option> <replaceable>mindays</replaceable>
|
||||
<option>-l</option>, <option>--list</option>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Show account aging information.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>-m</option>, <option>--mindays</option> <replaceable>MIN_DAYS</replaceable>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
@@ -110,15 +106,15 @@
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>-M</option> <replaceable>maxdays</replaceable>
|
||||
<option>-M</option>, <option>--maxdays</option> <replaceable>MAX_DAYS</replaceable>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Set maximum number of days during which a password is valid.
|
||||
When <emphasis remap='I'>maxdays</emphasis> plus <emphasis
|
||||
remap='I'>lastday</emphasis> is less than the current day, the
|
||||
Set maximum number of days during which a password is valid.
|
||||
When <emphasis remap='I'>MAX_DAYS</emphasis> plus <emphasis
|
||||
remap='I'>LAST_DAY</emphasis> is less than the current day, the
|
||||
user will be required to change her password before being able
|
||||
to use her account. This occurrence can be planned for in
|
||||
to use her account. This occurrence can be planned for in
|
||||
advance by use of the <option>-W</option> option, which provides
|
||||
the user with advance warning.
|
||||
</para>
|
||||
@@ -126,12 +122,12 @@
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<option>-W</option> <replaceable>warndays</replaceable>
|
||||
<option>-W</option>, <option>warndays</option> <replaceable>WARN_DAYS</replaceable>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Set the number of days of warning before a password change is
|
||||
required. The <emphasis remap='I'>warndays</emphasis> option is
|
||||
required. The <emphasis remap='I'>WARN_DAYS</emphasis> option is
|
||||
the number of days prior to the password expiring that a user
|
||||
will be warned her password is about to expire.
|
||||
</para>
|
||||
@@ -141,7 +137,7 @@
|
||||
<para>
|
||||
If none of the options are selected, <command>chage</command> operates
|
||||
in an interactive fashion, prompting the user with the current values
|
||||
for all of the fields. Enter the new value to change the field, or
|
||||
for all of the fields. Enter the new value to change the field, or
|
||||
leave the line blank to use the current value. The current value is
|
||||
displayed between a pair of <emphasis remap='B'>[ ]</emphasis> marks.
|
||||
</para>
|
||||
@@ -150,9 +146,14 @@
|
||||
<title>NOTE</title>
|
||||
<para>
|
||||
The <command>chage</command> program requires shadow password file to
|
||||
be available. Its functionality is not available when passwords are
|
||||
be available. Its functionality is not available when passwords are
|
||||
stored in the passwd file.
|
||||
</para>
|
||||
<para>The <command>chage</command> command is restricted to the root
|
||||
user, except for the <option>-l</option> option, which may be used by
|
||||
an unprivileged user to determine when her password or account is due
|
||||
to expire.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 id='files'>
|
||||
@@ -176,8 +177,7 @@
|
||||
|
||||
<refsect1 id='see_also'>
|
||||
<title>SEE ALSO</title>
|
||||
<para>
|
||||
<citerefentry>
|
||||
<para><citerefentry>
|
||||
<refentrytitle>passwd</refentrytitle><manvolnum>5</manvolnum>
|
||||
</citerefentry>,
|
||||
<citerefentry>
|
||||
|
Reference in New Issue
Block a user