-l/-u options: edit the shadow account expiry field *in addition* to

editing the password field.  Debian patch 494_passwd_lock.
This commit is contained in:
nekral-guest
2007-11-17 16:40:39 +00:00
parent f16a859ff8
commit e47ee90033
3 changed files with 19 additions and 2 deletions

View File

@@ -214,7 +214,8 @@
<listitem>
<para>
Lock the named account. This option disables an account by changing
the password to a value which matches no possible encrypted value.
the password to a value which matches no possible encrypted value,
and by setting the account expiry field to 1.
</para>
</listitem>
</varlistentry>
@@ -275,7 +276,8 @@
<para>
Unlock the named account. This option re-enables an account by
changing the password back to its previous value (to value before
using <option>-l</option> option).
using <option>-l</option> option), and by resetting the account
expiry field.
</para>
</listitem>
</varlistentry>