summaryrefslogtreecommitdiff
path: root/src/grp-login/systemd-logind/systemd-user.pam.m4
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-11-29 21:33:01 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-11-29 21:33:01 -0500
commit08ea146102377743cc6604876f6a66048bc7492a (patch)
tree593c4993f184c8842cf725fd5169cea86d673653 /src/grp-login/systemd-logind/systemd-user.pam.m4
parent589b6c603023133deed24de8bdce1e244081ded7 (diff)
./tools/notsd-move
Diffstat (limited to 'src/grp-login/systemd-logind/systemd-user.pam.m4')
-rw-r--r--src/grp-login/systemd-logind/systemd-user.pam.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/src/grp-login/systemd-logind/systemd-user.pam.m4 b/src/grp-login/systemd-logind/systemd-user.pam.m4
new file mode 100644
index 0000000000..f188a8e548
--- /dev/null
+++ b/src/grp-login/systemd-logind/systemd-user.pam.m4
@@ -0,0 +1,12 @@
+# 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 required pam_loginuid.so
+session include system-auth