* NEWS, src/usermod.c; man/usermod.8.xml: When the shadow file
exists but there are no shadow entries, an entry has to be created if the password is changed and passwd requires a shadow entry, or if aging features are used (-e or -f). Document this and also that -e and -f require a shadow file.
This commit is contained in:
@@ -127,6 +127,11 @@
|
||||
The date on which the user account will be disabled. The date is
|
||||
specified in the format <emphasis remap='I'>YYYY-MM-DD</emphasis>.
|
||||
</para>
|
||||
<para>
|
||||
This option requires a <filename>/etc/shadow</filename> file.
|
||||
A <filename>/etc/shadow</filename> entry will be created if
|
||||
there were none.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
@@ -144,6 +149,11 @@
|
||||
as the password has expired, and a value of -1 disables the
|
||||
feature.
|
||||
</para>
|
||||
<para>
|
||||
This option requires a <filename>/etc/shadow</filename> file.
|
||||
A <filename>/etc/shadow</filename> entry will be created if
|
||||
there were none.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
Reference in New Issue
Block a user