]> granicus.if.org Git - shadow/commitdiff
Document the differences between locking an account and locking a password.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 17 Nov 2007 22:07:47 +0000 (22:07 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sat, 17 Nov 2007 22:07:47 +0000 (22:07 +0000)
ChangeLog
man/usermod.8.xml

index 17e66d70cbcc72e334caee618aafd3e120ea0aa6..ff5421fcd6a1aece8886c780bcb2fe512fea625b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * NEWS, src/usermod.c: Refuse to unlock an account when it would
index 3d6cc6a3cc62b22c950ed03012cb12923ce422a0..c86dd4bd923375a715d7389124235bb7ee6c3167 100644 (file)
            can't use this option with <option>-p</option> or
            <option>-U</option>.
          </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>
       </varlistentry>
       <varlistentry>
            encrypted password. You can't use this option with
            <option>-p</option> or <option>-L</option>.
          </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>
       </varlistentry>
     </variablelist>