]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lslogins: improve prefixes interpretation
authorKarel Zak <kzak@redhat.com>
Tue, 7 Jun 2022 07:11:56 +0000 (09:11 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 7 Jun 2022 07:11:56 +0000 (09:11 +0200)
commitc51cba1e838ae7e36a843ec785543492bb8737cd
treecbe93728f975dc9fa4ae13e09d0a32c29a57b94a
parent8883f037466a5534554d7d9114aceb740295ef20
lslogins: improve prefixes interpretation

It seems that for example 'passwd --lock' uses two exclamation marks
in password  field. It seems better to assume arbitrary number of '!'
and '*' prefixes.

The patch also makes description of the PWD-EMPTY output field more
explicit.

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=2093166
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/lslogins.c