From: Karel Zak Date: Tue, 31 Jan 2023 15:08:00 +0000 (+0100) Subject: lslogins: explain password statuses X-Git-Tag: v2.39-rc1~102 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=95ea3dd4128b625ab12691229020ebc50d578e71;p=thirdparty%2Futil-linux.git lslogins: explain password statuses Signed-off-by: Karel Zak --- diff --git a/login-utils/lslogins.1.adoc b/login-utils/lslogins.1.adoc index 5d3111252a..73991e7762 100644 --- a/login-utils/lslogins.1.adoc +++ b/login-utils/lslogins.1.adoc @@ -119,6 +119,19 @@ if a serious error occurs (e.g., a corrupt log). The default UID thresholds are read from _/etc/login.defs_. +=== Password status + +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 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. + == HISTORY The *lslogins* utility is inspired by the *logins* utility, which first appeared in FreeBSD 4.10.