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

index 349248b6bbf2c6c5ff99fbfe26342e861e3c4712..fcbd7109075cafd636df7b6c825f8c2a6c3a1d1e 100644 (file)
        </term>
        <listitem>
          <para>
-            The date on which the user account will be disabled. The
-            date is specified in the format 
-            <emphasis remap="I">YYYY-MM-DD</emphasis>. Integers as input are
-            interpreted as days after 1970-01-01.
+           Specifies the date on which the user account will be disabled.
+           The value can be specified as a date in the YYYY-MM-DD format
+           or as a number of days since 1970-01-01.
+           The date is interpreted using the UTC timezone.
          </para>
          <para>
-           An input of -1 or an empty string will blank the account
-           expiration field in the shadow password file. The account
-           will remain available with no date limit.
+           An input of -1 or an empty string blanks the account expiration field
+           in the shadow password file.
+           The account will remain available with no expiration date.
          </para>
          <para>
-           This option requires a <filename>/etc/shadow</filename> file.
-           A <filename>/etc/shadow</filename> entry will be created if
-           there were none.
+           This option requires the <filename>/etc/shadow</filename> file.
+           If no entry exists in the <filename>/etc/shadow</filename> file,
+           the system will automatically create one.
          </para>
        </listitem>
       </varlistentry>
        </term>
        <listitem>
          <para>
-           changes the user's login shell. An empty string for SHELL blanks the
+           changes the user's login shell. An empty string for SHELL empties the
            field in <filename>/etc/passwd</filename> and logs the user into the
            system's default shell.
          </para>