diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-03-05 20:49:08 +0100 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2008-03-05 20:49:08 +0100 |
commit | e65b680f528d113518c5c1a5de55df853ac4a38d (patch) | |
tree | 17773de627a01d49a2bbbf4c4a2386f091869d87 /system-login.in | |
parent | pam_nologin does not accept debug option on Linux-PAM at least. (diff) | |
download | pambase-e65b680f528d113518c5c1a5de55df853ac4a38d.tar.gz pambase-e65b680f528d113518c5c1a5de55df853ac4a38d.tar.bz2 pambase-e65b680f528d113518c5c1a5de55df853ac4a38d.zip |
FreeBSD's pam_nologin module supports the debug option, so use it when available (and debug was requested).
Diffstat (limited to 'system-login.in')
-rw-r--r-- | system-login.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system-login.in b/system-login.in index aa7c068..bb990ab 100644 --- a/system-login.in +++ b/system-login.in @@ -7,7 +7,7 @@ auth required pam_tally.so file=/var/log/faillog onerr=succeed DEBUG #if HAVE_SHELLS auth required pam_shells.so DEBUG #endif -auth required pam_nologin.so +auth required pam_nologin.so DEBUG_NOLOGIN auth include system-auth #if HAVE_ACCESS |