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