aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_unix/passverify.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_unix/passverify.c')
-rw-r--r--modules/pam_unix/passverify.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/pam_unix/passverify.c b/modules/pam_unix/passverify.c
index 5460b057..fd81051d 100644
--- a/modules/pam_unix/passverify.c
+++ b/modules/pam_unix/passverify.c
@@ -245,8 +245,7 @@ PAMH_ARG_DECL(int get_account_info,
if (*spwdent == NULL) {
#ifndef HELPER_COMPILE
/* still a chance the user can authenticate */
- if (errno == EACCES || SELINUX_ENABLED)
- return PAM_UNIX_RUN_HELPER;
+ return PAM_UNIX_RUN_HELPER;
#endif
return PAM_AUTHINFO_UNAVAIL;
}