aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_unix/pam_unix_passwd.c
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2019-02-11 22:09:25 -0800
committerSteve Langasek <vorlon@debian.org>2019-02-11 22:09:59 -0800
commit1a2cb1c4f6c710630ebe46a728bb8b8fb5f68946 (patch)
treeba50a9673cb6324c5dfcbdad3f5144588772fbfe /modules/pam_unix/pam_unix_passwd.c
parentb12d7595dfcc20c809f3c11c579e34d115b3060e (diff)
parent668b13da8f830c38388cecac45539972e80cb246 (diff)
downloadpam-1a2cb1c4f6c710630ebe46a728bb8b8fb5f68946.tar.gz
pam-1a2cb1c4f6c710630ebe46a728bb8b8fb5f68946.tar.bz2
pam-1a2cb1c4f6c710630ebe46a728bb8b8fb5f68946.zip
Merge upstream version 1.3.1
Diffstat (limited to 'modules/pam_unix/pam_unix_passwd.c')
-rw-r--r--modules/pam_unix/pam_unix_passwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/pam_unix/pam_unix_passwd.c b/modules/pam_unix/pam_unix_passwd.c
index c2e43423..9fdebefb 100644
--- a/modules/pam_unix/pam_unix_passwd.c
+++ b/modules/pam_unix/pam_unix_passwd.c
@@ -774,7 +774,7 @@ pam_sm_chauthtok(pam_handle_t *pamh, int flags, int argc, const char **argv)
if (retval != PAM_SUCCESS) {
if (on(UNIX_DEBUG, ctrl)) {
- pam_syslog(pamh, LOG_ALERT,
+ pam_syslog(pamh, LOG_ERR,
"password - new password not obtained");
}
pass_old = NULL; /* tidy up */
@@ -864,7 +864,7 @@ pam_sm_chauthtok(pam_handle_t *pamh, int flags, int argc, const char **argv)
_pam_delete(tpass);
pass_old = pass_new = NULL;
} else { /* something has broken with the module */
- pam_syslog(pamh, LOG_ALERT,
+ pam_syslog(pamh, LOG_CRIT,
"password received unknown request");
retval = PAM_ABORT;
}