summaryrefslogtreecommitdiff
path: root/src/login/systemd-user.m4
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/systemd-user.m4')
-rw-r--r--src/login/systemd-user.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/src/login/systemd-user.m4 b/src/login/systemd-user.m4
new file mode 100644
index 0000000000..7933508f2b
--- /dev/null
+++ b/src/login/systemd-user.m4
@@ -0,0 +1,11 @@
+# This file is part of systemd.
+#
+# Used by systemd --user instances.
+
+account include system-auth
+
+m4_ifdef(`HAVE_SELINUX',
+session required pam_selinux.so close
+session required pam_selinux.so nottys open
+)m4_dnl
+session include system-auth