aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-10-28 20:31:16 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-10-28 20:31:16 +0100
commitd4b2e0a027ce1c0b0d0dc7b41d31eb2902c7099e (patch)
treec8241dcb9399afe2465800980825e8c9853a9d28 /system-services.in
parentAdd an optional never-failing pam_permit at the end of system-auth's session. (diff)
downloadpambase-d4b2e0a027ce1c0b0d0dc7b41d31eb2902c7099e.tar.gz
pambase-d4b2e0a027ce1c0b0d0dc7b41d31eb2902c7099e.tar.bz2
pambase-d4b2e0a027ce1c0b0d0dc7b41d31eb2902c7099e.zip
Add a system-services stack.
The system-services stack provides a session chain for services to have the same session settings as standard user logins. This includes limits (on Linux), temporary directories, namespaces and so on.
Diffstat (limited to 'system-services.in')
-rw-r--r--system-services.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/system-services.in b/system-services.in
new file mode 100644
index 0000000..9d4aea1
--- /dev/null
+++ b/system-services.in
@@ -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