aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2009-05-15 01:57:46 +0200
committerDiego Elio 'Flameeyes' Pettenò <flameeyes@gmail.com>2009-05-15 01:57:46 +0200
commitef1e574c6b684eaa88496e9cf19ee93bb5948b90 (patch)
tree92f370195d295041da36e5a03a32d73477e0da26
parentMove the ConsoleKit module to the generic login stack. (diff)
downloadpambase-20090515.tar.gz
pambase-20090515.tar.bz2
pambase-20090515.zip
Fix pam_nologin on Gentoo/FreeBSD 7.1.pambase-20090515
-rw-r--r--openpam-conf11
1 files changed, 4 insertions, 7 deletions
diff --git a/openpam-conf b/openpam-conf
index a60581b..e38107c 100644
--- a/openpam-conf
+++ b/openpam-conf
@@ -10,16 +10,13 @@
# if defined(DEBUG)
# define DEBUG_NOLOGIN DEBUG
-# endif
-
-# if __FreeBSD__ < 7
-# define SUPPORT_NOLOGIN_ACCOUNT 1
-# define SUPPORT_NOLOGIN_AUTH 0
# else
-# define SUPPORT_NOLOGIN_ACCOUNT 0
-# define SUPPORT_NOLOGIN_AUTH 1
+# define DEBUG_NOLOGIN
# endif
+# define SUPPORT_NOLOGIN_ACCOUNT 1
+# define SUPPORT_NOLOGIN_AUTH 0
+
# if defined(WANT_SHA512)
# error "SHA512 support is not present for FreeBSD!"
# endif