]> 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>
Wed, 20 Jul 2022 15:53:00 +0000 (17:53 +0200)
commit6a930189e5a4ca380203f8f49a0b051def5d1630
treec410a264ce689f8ed66680fb750d078ea14ea66e
parentbfa66e103e1e657d003084c42dd2697c017ab974
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