summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@users.noreply.github.com>2016-10-10 10:40:05 -0300
committerLennart Poettering <lennart@poettering.net>2016-10-10 15:40:05 +0200
commitbaed1fedba161d7db89636a417751891831c432a (patch)
treec844310ae7e427c1159b4d5ddfe3a62121bc5a2f /src
parent84a69ca9ba49a516c741582c4b2f69b0feb0f020 (diff)
login: drop fedora-specific PAM config, add note to DISTRO_PORTING (#4314)
It is impossible to ship a fully generic PAM configuration upstream. Therefore, ship a minimal configuration with the systemd --user requirements, and add a note to DISTRO_PORTING documenting this. Fixes #4284
Diffstat (limited to 'src')
-rw-r--r--src/login/systemd-user.m44
1 files changed, 1 insertions, 3 deletions
diff --git a/src/login/systemd-user.m4 b/src/login/systemd-user.m4
index f188a8e548..fe38b24fef 100644
--- a/src/login/systemd-user.m4
+++ b/src/login/systemd-user.m4
@@ -2,11 +2,9 @@
#
# 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
+session optional pam_systemd.so