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