]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
man/: wfix usermod inactive
authorDominika Borges <dvagnero@redhat.com>
Sun, 23 Mar 2025 18:54:31 +0000 (19:54 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Mon, 9 Jun 2025 08:23:37 +0000 (10:23 +0200)
man/useradd.8.xml
man/usermod.8.xml

index 5e65cdb692b79bce1732b48611d3d2afb990717e..fd9ff69794d3ecc0823fa28b4ee3b0a4d9bdbfeb 100644 (file)
            Defines the number of days after a password exceeds its maximum age
            before the user account gets locked.
            If the user does not change their password within this period of time,
-           their account gets disabled.
+           their account becomes inactive.
            This value is stored in the shadow password file.
            For more information, see <citerefentry>
            <refentrytitle>shadow</refentrytitle><manvolnum>5</manvolnum>
index fcbd7109075cafd636df7b6c825f8c2a6c3a1d1e..61b5e3a9c0ab167681386b2a04445ae0c8b525e3 100644 (file)
        </term>
        <listitem>
          <para>
-           defines the number of days after the password exceeded its maximum
-           age during which the user may still login by immediately replacing
-           the password. This grace period before the account becomes inactive
-           is stored in the shadow password file. An input of 0 will disable an
-           expired password with no delay. An input of -1 will blank the
-           respective field in the shadow password file. See <citerefentry>
-           <refentrytitle>shadow</refentrytitle><manvolnum>5</manvolnum>
-           </citerefentry> for more information.
-         </para>
-         <para>
-           This option requires a <filename>/etc/shadow</filename> file.
-           A <filename>/etc/shadow</filename> entry will be created if
-           there were none.
+           Defines the number of days after a password exceeds its maximum age
+           during which the user can still log in by immediately changing their password.
+           If the user does not change their password within this period of time,
+           their account becomes inactive.
+           This value is stored in the shadow password file.
+         </para>
+         <para>
+           A value of 0 disables the account when the password expires, with no delay.
+           </para>
+         <para>
+           A value of -1 empties the respective field in the shadow password file,
+           which means that the inactivity period is not enforced.
+         </para>
+         <para>
+           This option requires the <filename>/etc/shadow</filename> file.
+           If no entry exist in the <filename>/etc/shadow</filename> file,
+           the system will automatically create one.
          </para>
        </listitem>
       </varlistentry>