summaryrefslogtreecommitdiff
path: root/src/grp-login/systemd-user.m4
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-07-27 21:21:19 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-07-27 21:21:19 -0400
commit38b93f33c4130a69b6ff1777ee59511f601abff6 (patch)
tree4f51d827b4e7598b3ab46f86a3c1ab5e03782700 /src/grp-login/systemd-user.m4
parenta9330854c56ccba7b6ce4bdb046ae7778b329622 (diff)
./move.sh
Diffstat (limited to 'src/grp-login/systemd-user.m4')
-rw-r--r--src/grp-login/systemd-user.m412
1 files changed, 12 insertions, 0 deletions
diff --git a/src/grp-login/systemd-user.m4 b/src/grp-login/systemd-user.m4
new file mode 100644
index 0000000000..f188a8e548
--- /dev/null
+++ b/src/grp-login/systemd-user.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