aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-07-23 00:05:05 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-07-23 00:05:05 +0200
commit12adf96f14fdfd3eb31a451a47c29133588203c0 (patch)
tree56270b29831bd2a4dd0e8e54790ae97604e12bd9
parentOnly enable session support for pam_unix when available. (diff)
downloadpambase-12adf96f14fdfd3eb31a451a47c29133588203c0.tar.gz
pambase-12adf96f14fdfd3eb31a451a47c29133588203c0.tar.bz2
pambase-12adf96f14fdfd3eb31a451a47c29133588203c0.zip
Rename NOLOGIN_SUPPORTS_ACCOUNT in HAVE_PAM_NOLOGIN_ACCOUNT.
Temporarily to try making it look nicer.
-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