]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lslogins: fix password verification
authorKarel Zak <kzak@redhat.com>
Wed, 23 May 2018 10:43:26 +0000 (12:43 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 23 May 2018 10:45:23 +0000 (12:45 +0200)
commit214fbec40abf0432b8e7968f05024ee76d11b3c7
treea59656fed808bbf9058692229280a799a329b5d5
parent3fe5e8ec09573dc3ef68bb040e08fcb82bd568fc
lslogins: fix password verification

Let's follow the standard $id$salt$encrypted password format in
verification code.

The current code is useless and for example PWD-LOCK column is always
FALSE.

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