Document the differences between locking an account and locking a password.
This commit is contained in:
parent
0743a7236d
commit
722941eae1
@ -1,3 +1,8 @@
|
|||||||
|
2007-11-17 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* man/usermod.8.xml: Document the differences between locking an
|
||||||
|
account and locking a password.
|
||||||
|
|
||||||
2007-11-17 Nicolas François <nicolas.francois@centraliens.net>
|
2007-11-17 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* NEWS, src/usermod.c: Refuse to unlock an account when it would
|
* NEWS, src/usermod.c: Refuse to unlock an account when it would
|
||||||
|
@ -158,6 +158,12 @@
|
|||||||
can't use this option with <option>-p</option> or
|
can't use this option with <option>-p</option> or
|
||||||
<option>-U</option>.
|
<option>-U</option>.
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
Note: if you wish to lock the account (not only access with a
|
||||||
|
password), you should also set the
|
||||||
|
<replaceable>EXPIRE_DATE</replaceable> to
|
||||||
|
<replaceable>1</replaceable>.
|
||||||
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
@ -224,6 +230,14 @@
|
|||||||
encrypted password. You can't use this option with
|
encrypted password. You can't use this option with
|
||||||
<option>-p</option> or <option>-L</option>.
|
<option>-p</option> or <option>-L</option>.
|
||||||
</para>
|
</para>
|
||||||
|
<para>
|
||||||
|
Note: if you wish to unlock the account (not only access with a
|
||||||
|
password), you should also set the
|
||||||
|
<replaceable>EXPIRE_DATE</replaceable> (for example to
|
||||||
|
<replaceable>99999</replaceable>, or to the
|
||||||
|
<replaceable>EXPIRE</replaceable> value from
|
||||||
|
<filename>/etc/default/useradd</filename>).
|
||||||
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
Loading…
Reference in New Issue
Block a user