]> 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>
Mon, 25 Mar 2019 15:39:43 +0000 (16:39 +0100)
commit99c1ebee2106bb72d0fd6908bd47eb3f5334ae96
treeae2db7a5700b0551411ca2bb455abe022c2a2ea0
parent65bcbf105bfc5f6510b8df8db09d9458f942c799
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