From: Dominika Borges Date: Sun, 23 Mar 2025 17:58:28 +0000 (+0100) Subject: man/: wfix useradd inactive X-Git-Tag: 4.18.0-rc2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=abfcddc79831c1fe45a92cb1f189b532250faa11;p=thirdparty%2Fshadow.git man/: wfix useradd inactive --- diff --git a/man/useradd.8.xml b/man/useradd.8.xml index b842c8c3e..c9f09dd4e 100644 --- a/man/useradd.8.xml +++ b/man/useradd.8.xml @@ -200,19 +200,28 @@ - defines the number of days after the password exceeded its maximum - age where the user is expected to replace this password. The value - 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 + 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. + This value is stored in the shadow password file. + For more information, see shadow5 - for more information. + . - If not specified, useradd will use the - default inactivity period specified by the - variable in - /etc/default/useradd, or -1 by default. + A value of 0 disables the account when the password expires, with no delay. + + + A value of -1 empties the respective field in the shadow password file, + which means that the inactivity period is not enforced. + + + If not specified, + useradd uses the default inactivity + period specified by the variable in + /etc/default/useradd, + or -1 by default if no value is specified. @@ -651,10 +660,9 @@ - defines the number of days after the password exceeded its maximum - age where the user is expected to replace this password. See - shadow5 - for more information. + specifies the number of days after a password expires + during which the user can still log in. + After this period, the account is locked. This option sets the variable in