diff options
author | 2008-03-06 15:03:31 +0100 | |
---|---|---|
committer | 2008-03-06 15:03:31 +0100 | |
commit | 91de7fab34dc257c7845a0e1ca832dc85d4e3136 (patch) | |
tree | 2cfcb64f8b6a13d36be93a6ed92736172ef942a8 | |
parent | Define empty the DEBUG for pam_nologin. (diff) | |
download | pambase-91de7fab34dc257c7845a0e1ca832dc85d4e3136.tar.gz pambase-91de7fab34dc257c7845a0e1ca832dc85d4e3136.tar.bz2 pambase-91de7fab34dc257c7845a0e1ca832dc85d4e3136.zip |
Add pam_mktemp optional support to default session.
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | system-auth.in | 3 |
2 files changed, 7 insertions, 0 deletions
@@ -36,6 +36,10 @@ ifeq "$(SELINUX)" "yes" PAMFLAGS += -DHAVE_SELINUX=1 endif +ifeq "$(MKTEMP)" "yes" +PAMFLAGS += -DHAVE_MKTEMP=1 +endif + ifeq "$(DEBUG)" "yes" PAMFLAGS += -DDEBUG=debug endif diff --git a/system-auth.in b/system-auth.in index b5b84f3..c48fea4 100644 --- a/system-auth.in +++ b/system-auth.in @@ -21,5 +21,8 @@ session required pam_limits.so DEBUG #if HAVE_ENV session required pam_env.so DEBUG #endif +#if HAVE_MKTEMP +session optional pam_mktemp.so +#endif session required pam_unix.so DEBUG |