summaryrefslogtreecommitdiff
path: root/Linux-PAM/modules/pam_unix/support.c
diff options
context:
space:
mode:
authorSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 16:03:16 -0800
committerSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 16:05:55 -0800
commit281e859131adad49301befbc50cfc5cd282c6937 (patch)
treece45ce19af410930b834390fb8a8256bcace5006 /Linux-PAM/modules/pam_unix/support.c
parent9a4298687784e7812c8aeef6e0e97830febbf393 (diff)
parent10ac36fdc45532acb00ec47aab28b5cc6198820f (diff)
New upstream version 0.99.9.0
Diffstat (limited to 'Linux-PAM/modules/pam_unix/support.c')
-rw-r--r--Linux-PAM/modules/pam_unix/support.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Linux-PAM/modules/pam_unix/support.c b/Linux-PAM/modules/pam_unix/support.c
index fc95f2c0..1472b966 100644
--- a/Linux-PAM/modules/pam_unix/support.c
+++ b/Linux-PAM/modules/pam_unix/support.c
@@ -665,12 +665,12 @@ int _unix_verify_password(pam_handle_t * pamh, const char *name
if (on(UNIX_AUDIT, ctrl)) {
/* this might be a typo and the user has given a password
instead of a username. Careful with this. */
- pam_syslog(pamh, LOG_ALERT,
+ pam_syslog(pamh, LOG_WARNING,
"check pass; user (%s) unknown", name);
} else {
name = NULL;
if (on(UNIX_DEBUG, ctrl) || pwd == NULL) {
- pam_syslog(pamh, LOG_ALERT,
+ pam_syslog(pamh, LOG_WARNING,
"check pass; user unknown");
} else {
/* don't log failure as another pam module can succeed */