diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-07-30 11:32:46 +0200 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-07-30 11:32:46 +0200 |
commit | eba7265836cca7a2dc609cd4f1688858099eef48 (patch) | |
tree | bb6e653facd21cdc6acbc33f56dc4b5ab13cec49 | |
parent | Add an optional never-failing pam_permit at the end of system-auth's session. (diff) | |
download | pambase-eba7265836cca7a2dc609cd4f1688858099eef48.tar.gz pambase-eba7265836cca7a2dc609cd4f1688858099eef48.tar.bz2 pambase-eba7265836cca7a2dc609cd4f1688858099eef48.zip |
Disable support for session chain in pam_unix for the whole of FreeBSD.
The pam_unix module from FreeBSD 6.2 also does not support the session
chain; thus disable it for the whole FreeBSD case rather than just for
FreeBSD 7.
-rw-r--r-- | openpam-conf | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/openpam-conf b/openpam-conf index 8c384d5..dfdc84c 100644 --- a/openpam-conf +++ b/openpam-conf @@ -6,17 +6,16 @@ // extended modules, so check for FreeBSD building first. #ifdef __FreeBSD__ # define HAVE_LOGIN_ACCESS 1 +# define SUPPORT_UNIX_SESSION 0 # if defined(DEBUG) # define DEBUG_NOLOGIN DEBUG # endif # if __FreeBSD__ < 7 -# define SUPPORT_UNIX_SESSION 1 # define SUPPORT_NOLOGIN_ACCOUNT 1 # define SUPPORT_NOLOGIN_AUTH 0 # else -# define SUPPORT_UNIX_SESSION 0 # define SUPPORT_NOLOGIN_ACCOUNT 0 # define SUPPORT_NOLOGIN_AUTH 1 # endif |