From: Dominika Borges Date: Sun, 23 Mar 2025 18:54:31 +0000 (+0100) Subject: man/: wfix usermod inactive X-Git-Tag: 4.18.0-rc2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fe49b677c40dae1da2be515cc97b797c1f2b62dd;p=thirdparty%2Fshadow.git man/: wfix usermod inactive --- diff --git a/man/useradd.8.xml b/man/useradd.8.xml index 5e65cdb69..fd9ff6979 100644 --- a/man/useradd.8.xml +++ b/man/useradd.8.xml @@ -205,7 +205,7 @@ 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 shadow5 diff --git a/man/usermod.8.xml b/man/usermod.8.xml index fcbd71090..61b5e3a9c 100644 --- a/man/usermod.8.xml +++ b/man/usermod.8.xml @@ -153,19 +153,23 @@ - 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 - shadow5 - for more information. - - - This option requires a /etc/shadow file. - A /etc/shadow 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. + + + 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. + + + This option requires the /etc/shadow file. + If no entry exist in the /etc/shadow file, + the system will automatically create one.