From a13cff19ce8a52e4f5c436e3cc84355691ed6341 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 17 Sep 2015 17:15:28 +0200 Subject: pam: systemd-user - call selinux module https://bugzilla.redhat.com/show_bug.cgi?id=1262933 --- src/login/.gitignore | 1 + src/login/systemd-user | 6 ------ src/login/systemd-user.m4 | 11 +++++++++++ 3 files changed, 12 insertions(+), 6 deletions(-) delete mode 100644 src/login/systemd-user create mode 100644 src/login/systemd-user.m4 (limited to 'src') diff --git a/src/login/.gitignore b/src/login/.gitignore index 5c0b2ac68c..39088ec252 100644 --- a/src/login/.gitignore +++ b/src/login/.gitignore @@ -2,3 +2,4 @@ /org.freedesktop.login1.policy /71-seat.rules /73-seat-late.rules +/systemd-user diff --git a/src/login/systemd-user b/src/login/systemd-user deleted file mode 100644 index 8112d74640..0000000000 --- a/src/login/systemd-user +++ /dev/null @@ -1,6 +0,0 @@ -# This file is part of systemd. -# -# Used by systemd --user instances. - -account include system-auth -session include system-auth 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 -- cgit v1.2.3-54-g00ecf