From ea7c4a75b932066346af31ee44c5d58120e5c98b Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Thu, 30 Aug 2007 15:15:41 +0000 Subject: Relevant BUGIDs: Debian bugs #95220, #175900 Purpose of commit: bugfix Commit summary: --------------- 2007-08-30 Steve Langasek * modules/pam_unix/support.c, modules/pam_unix/unix_chkpwd.c: A wrong username doesn't need to be logged at LOG_ALERT; LOG_WARNING should be sufficient. Patch from Sam Hartman . --- modules/pam_unix/support.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/pam_unix/support.c') diff --git a/modules/pam_unix/support.c b/modules/pam_unix/support.c index fc95f2c0..1472b966 100644 --- a/modules/pam_unix/support.c +++ b/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 */ -- cgit v1.2.3