]> git.ipfire.org Git - thirdparty/util-linux.git/commit
su: change error message
authorKarel Zak <kzak@redhat.com>
Mon, 25 Mar 2019 15:39:43 +0000 (16:39 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 2 Apr 2019 10:57:52 +0000 (12:57 +0200)
commit76d7591c25db8977f212ffc3451800d1586829fb
tree334bbf3d378425fba580cd31a1815a5ee5853b84
parent4dbe8d5a92ee3ba1740ce96dd1debd1600cc8ada
su: change error message

We use PAM and if pam_strerror() returns nothing we have no clue why
authentication failed. It's mistake to blame incorrect password if
there are many possible reason...

Addresses: https://github.com/karelzak/util-linux/issues/778
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/su-common.c