aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-07-23 17:07:59 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-07-23 17:07:59 +0200
commitd0044547a928c73eb5f47217ac60852bdb142a2c (patch)
treec795545f74bc09e758e4f866bbf52df7c1421a85
parentRemove try_first_pass from pam_cracklib. (diff)
downloadpambase-d0044547a928c73eb5f47217ac60852bdb142a2c.tar.gz
pambase-d0044547a928c73eb5f47217ac60852bdb142a2c.tar.bz2
pambase-d0044547a928c73eb5f47217ac60852bdb142a2c.zip
Add an optional never-failing pam_permit at the end of system-auth's session.
On Gentoo/FreeBSD 7 the session entries for system-auth are all disabled (unless you enable pam_mktemp), and thus everything including it will fail. To avoid this, make sure there is always at least one entry at the end of the session chain.
-rw-r--r--system-auth.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/system-auth.in b/system-auth.in
index 6a7bbd6..d8f525f 100644
--- a/system-auth.in
+++ b/system-auth.in
@@ -31,4 +31,4 @@ session optional pam_ssh.so
#if SUPPORT_UNIX_SESSION
session required pam_unix.so DEBUG
#endif
-
+session optional pam_permit.so