Lines 245-251
Link Here
|
245 |
if (*spwdent == NULL) { |
245 |
if (*spwdent == NULL) { |
246 |
#ifndef HELPER_COMPILE |
246 |
#ifndef HELPER_COMPILE |
247 |
/* still a chance the user can authenticate */ |
247 |
/* still a chance the user can authenticate */ |
248 |
if (errno == EACCES || SELINUX_ENABLED) |
248 |
if (geteuid() || SELINUX_ENABLED) |
249 |
return PAM_UNIX_RUN_HELPER; |
249 |
return PAM_UNIX_RUN_HELPER; |
250 |
#endif |
250 |
#endif |
251 |
return PAM_AUTHINFO_UNAVAIL; |
251 |
return PAM_AUTHINFO_UNAVAIL; |