From 2cc5de847cec6868408550b2973faaf1381f7834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 10 Mar 2010 01:29:35 +0100 Subject: Improve handling of services and the session chain. The system-services stack will now provide auth (always permitted) and account (use system-auth stack) chains, so that services like fcron can use it. Session handling is instead split out of system-auth and system-services into not a stack but an included file providing the session chain for both of them, this allows to edit a single file in pambase and provide the two session chains, that might very well be separated (indeed, services don't use pam_ssh). --- system-session.inc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 system-session.inc (limited to 'system-session.inc') diff --git a/system-session.inc b/system-session.inc new file mode 100644 index 0000000..9d4aea1 --- /dev/null +++ b/system-session.inc @@ -0,0 +1,13 @@ +#if HAVE_LIMITS +session required pam_limits.so DEBUG +#endif +#if HAVE_ENV +session required pam_env.so DEBUG +#endif +#if HAVE_MKTEMP +session optional pam_mktemp.so +#endif +#if SUPPORT_UNIX_SESSION +session required pam_unix.so DEBUG +#endif +session optional pam_permit.so -- cgit v1.2.3