Blame SOURCES/pam-1.3.0-unix-nomsg.patch

73cfcf
diff -up Linux-PAM-1.3.0/modules/pam_unix/pam_unix_passwd.c.nomsg Linux-PAM-1.3.0/modules/pam_unix/pam_unix_passwd.c
73cfcf
--- Linux-PAM-1.3.0/modules/pam_unix/pam_unix_passwd.c.nomsg	2016-04-11 13:08:47.000000000 +0200
73cfcf
+++ Linux-PAM-1.3.0/modules/pam_unix/pam_unix_passwd.c	2017-04-20 16:51:24.853106709 +0200
73cfcf
@@ -687,12 +687,6 @@ pam_sm_chauthtok(pam_handle_t *pamh, int
73cfcf
 			return PAM_SUCCESS;
73cfcf
 		} else if (off(UNIX__IAMROOT, ctrl) ||
73cfcf
 			   (on(UNIX_NIS, ctrl) && _unix_comesfromsource(pamh, user, 0, 1))) {
73cfcf
-			/* instruct user what is happening */
73cfcf
-			if (off(UNIX__QUIET, ctrl)) {
73cfcf
-				retval = pam_info(pamh, _("Changing password for %s."), user);
73cfcf
-				if (retval != PAM_SUCCESS)
73cfcf
-					return retval;
73cfcf
-			}
73cfcf
 			retval = pam_get_authtok(pamh, PAM_OLDAUTHTOK, &pass_old, NULL);
73cfcf
 
73cfcf
 			if (retval != PAM_SUCCESS) {