aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-pam-conf2
-rw-r--r--system-login.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/linux-pam-conf b/linux-pam-conf
index 70c9f0e..5636def 100644
--- a/linux-pam-conf
+++ b/linux-pam-conf
@@ -6,7 +6,7 @@
#define HAVE_MOTD 1
#define HAVE_MAIL 1
#define HAVE_PAM_UNIX_SESSION 1
-#define NOLOGIN_SUPPORTS_ACCOUNT 1
+#define HAVE_PAM_NOLOGIN_ACCOUNT 1
#define UNIX_EXTENDED_ENCRYPTION md5 shadow
diff --git a/system-login.in b/system-login.in
index d4089b3..6b96b37 100644
--- a/system-login.in
+++ b/system-login.in
@@ -16,7 +16,7 @@ account required pam_access.so DEBUG
#if HAVE_LOGIN_ACCESS
account required pam_login_access.so
#endif
-#if NOLOGIN_SUPPORTS_ACCOUNT
+#if HAVE_PAM_NOLOGIN_ACCOUNT
account required pam_nologin.so DEBUG_NOLOGIN
#endif
account include system-auth