[Pkg-shadow-commits] r931 - trunk/debian/patches

Nicolas FRANCOIS nekral-guest at costa.debian.org
Sat Mar 25 21:15:04 UTC 2006


Author: nekral-guest
Date: 2006-03-25 21:15:02 +0000 (Sat, 25 Mar 2006)
New Revision: 931

Added:
   trunk/debian/patches/487_passwd_chauthtok_failed_message
Log:
Attempt to fix #352137


Added: trunk/debian/patches/487_passwd_chauthtok_failed_message
===================================================================
--- trunk/debian/patches/487_passwd_chauthtok_failed_message	2006-03-25 20:15:32 UTC (rev 930)
+++ trunk/debian/patches/487_passwd_chauthtok_failed_message	2006-03-25 21:15:02 UTC (rev 931)
@@ -0,0 +1,20 @@
+Goal: Be more verbose and indicate that the password was not changed when
+      pam_chauthtok fails (in addition to the PAM error, which may not be
+      comprehensible for the users)
+
+Fixes: #352137
+
+Status wrt upstream: not forwarded yet
+
+Index: shadow-4.0.15/libmisc/pam_pass.c
+===================================================================
+--- shadow-4.0.15.orig/libmisc/pam_pass.c	2005-10-19 17:21:07.000000000 +0200
++++ shadow-4.0.15/libmisc/pam_pass.c	2006-03-25 21:59:25.000000000 +0100
+@@ -38,6 +38,7 @@
+ 	ret = pam_chauthtok (pamh, flags);
+ 	if (ret != PAM_SUCCESS) {
+ 		fprintf (stderr, _("passwd: %s\n"), pam_strerror (pamh, ret));
++		fprintf (stderr, _("passwd: password unchanged\n"));
+ 		pam_end (pamh, ret);
+ 		exit (10);	/* XXX */
+ 	}




More information about the Pkg-shadow-commits mailing list