summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system-session.tpl')
-rw-r--r--templates/system-session.tpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/system-session.tpl b/templates/system-session.tpl
new file mode 100644
index 0000000..f2622a8
--- /dev/null
+++ b/templates/system-session.tpl
@@ -0,0 +1,16 @@
+session required pam_limits.so {{ debug|default('', true) }}
+session required pam_env.so {{ debug|default('', true) }}
+{% if mktemp -%}
+session optional pam_mktemp.so
+{% endif -%}
+
+{%if krb5 -%}
+session [success=1 default=ignore] {{ krb5_params }}
+{% endif -%}
+
+session required pam_unix.so {{ debug|default('', true) }}
+{%if krb5 -%}
+session [success=1 default=ignore] {{ krb5_params }}
+{% endif -%}
+
+session optional pam_permit.so