summaryrefslogtreecommitdiff
path: root/src/login/elogind-user.m4
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2015-09-17 17:15:28 +0200
committerSven Eden <yamakuzure@gmx.net>2017-03-29 10:45:09 +0200
commitad183b555168c578293fa66c2ecaf83d104e9caa (patch)
tree1d0ffbc76b724060567f33dac6787d4803c1f670 /src/login/elogind-user.m4
parent5e0fd2035edba3af58d285d3412065bf8e7b834f (diff)
pam: elogind-user - call selinux module
https://bugzilla.redhat.com/show_bug.cgi?id=1262933
Diffstat (limited to 'src/login/elogind-user.m4')
-rw-r--r--src/login/elogind-user.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/src/login/elogind-user.m4 b/src/login/elogind-user.m4
new file mode 100644
index 000000000..7933508f2
--- /dev/null
+++ b/src/login/elogind-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