diff options
Diffstat (limited to 'modules/pam_setquota/pam_setquota.c')
-rw-r--r-- | modules/pam_setquota/pam_setquota.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/pam_setquota/pam_setquota.c b/modules/pam_setquota/pam_setquota.c index 43c76d66..9c05862a 100644 --- a/modules/pam_setquota/pam_setquota.c +++ b/modules/pam_setquota/pam_setquota.c @@ -227,7 +227,8 @@ pam_sm_open_session(pam_handle_t *pamh, int flags UNUSED, /* Get the password entry */ pwd = pam_modutil_getpwnam(pamh, user); if (pwd == NULL) { - return PAM_CRED_INSUFFICIENT; + pam_syslog(pamh, LOG_NOTICE, "user unknown"); + return PAM_USER_UNKNOWN; } /* Check if we should not set quotas for user */ |