1
Goal: Be more verbose and indicate that the password was not changed when
2
pam_chauthtok fails (in addition to the PAM error, which may not be
3
comprehensible for the users)
7
Status wrt upstream: Applied upstream.
9
Index: shadow-4.1.0/libmisc/pam_pass.c
10
===================================================================
11
--- shadow-4.1.0.orig/libmisc/pam_pass.c
12
+++ shadow-4.1.0/libmisc/pam_pass.c
14
ret = pam_chauthtok (pamh, flags);
15
if (ret != PAM_SUCCESS) {
16
fprintf (stderr, _("passwd: %s\n"), pam_strerror (pamh, ret));
17
+ fprintf (stderr, _("passwd: password unchanged\n"));