]> 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, 11 Jul 2018 13:47:30 +0000 (15:47 +0200)
commitfbc4c003974a5f28a681b9646bb5bd7b5bdbbe4c
tree453e2e7cf64a409da5e4e260e2b993339c9b0732
parent29c3c71bee594fc5114399768fe71adfad8b47e2
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