aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-07-23 00:10:41 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-07-23 00:10:41 +0200
commit3796c7ec045e786ec8f706e607b2f326d1cd626d (patch)
tree39945bf9bfcce5458f2e4cc23900a4996ce16411 /system-login.in
parentRename chain support to SUPPORT_$MODULE_$CHAIN (diff)
downloadpambase-3796c7ec045e786ec8f706e607b2f326d1cd626d.tar.gz
pambase-3796c7ec045e786ec8f706e607b2f326d1cd626d.tar.bz2
pambase-3796c7ec045e786ec8f706e607b2f326d1cd626d.zip
Make it optional for pam_nologin to support auth.pambase-20080723
In FreeBSD 7, the pam_nologin module changed from being an authentication module to an account module. In Linux-PAM it's both. For this reasn make it optional for the two types of chains to be used with pam_nologin. This should close bug #232669 entirely.
Diffstat (limited to 'system-login.in')
-rw-r--r--system-login.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/system-login.in b/system-login.in
index 09af7e7..fb04a98 100644
--- a/system-login.in
+++ b/system-login.in
@@ -4,7 +4,9 @@ auth required pam_tally.so file=/var/log/faillog onerr=succeed DEBUG
#if HAVE_SHELLS
auth required pam_shells.so DEBUG
#endif
+#if SUPPORT_NOLOGIN_AUTH
auth required pam_nologin.so DEBUG_NOLOGIN
+#endif
auth include system-auth
#if HAVE_GNOME_KEYRING
auth optional pam_gnome_keyring.so