summaryrefslogtreecommitdiff
path: root/src/grp-login/systemd-logind/systemd-user.pam.m4
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-10 14:47:43 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-10 14:47:43 -0400
commit9fdd60e58532607eeda4e396bebea2c22143cac8 (patch)
tree68e002cbe5404a41f6cd0efb4d5bc34b29b6aedc /src/grp-login/systemd-logind/systemd-user.pam.m4
parentd3e52cd56c638be8fd8fa332a25107a3ecc2346d (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..e33963b125
--- /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 required pam_unix.so
+
+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 optional pam_systemd.so