From: Karel Zak Date: Wed, 22 Feb 2023 10:36:03 +0000 (+0100) Subject: lslogins: (man) reorder login statuses X-Git-Tag: v2.39-rc1~64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c1510f4ee1436de0e76641656b2c24902a44b591;p=thirdparty%2Futil-linux.git lslogins: (man) reorder login statuses It's better to keep the order in the man page the same as used in the lslogins output. Reported-by: Radka Skvarilova Signed-off-by: Karel Zak --- diff --git a/login-utils/lslogins.1.adoc b/login-utils/lslogins.1.adoc index 30df5c371d..8703f70b68 100644 --- a/login-utils/lslogins.1.adoc +++ b/login-utils/lslogins.1.adoc @@ -123,14 +123,14 @@ The default UID thresholds are read from _/etc/login.defs_. Multiple fields describe password status. -*"Login by password disabled"*:: -'yes' means that there is no valid password. The password hash is missing, or the hash method is unknown or contains invalid chars. +*"Password is locked"*:: +The password is prefixed by '!!', and the user cannot login although the password is set or empty. This is common for new accounts without a set password. *"Password not required (empty)"*:: The password is not set (hash is missing); this is common for locked system accounts. Not requiring a password does not mean the user can log-in without a password. It depends on the password "lock" status. -*"Password is locked"*:: -The password is prefixed by '!!', and the user cannot login although the password is set or empty. This is common for new accounts without a set password. +*"Login by password disabled"*:: +'yes' means that there is no valid password. The password hash is missing, or the hash method is unknown or contains invalid chars. == HISTORY