chiark / gitweb /
login: drop fedora-specific PAM config, add note to DISTRO_PORTING (#4314)
authorFelipe Sateler <fsateler@users.noreply.github.com>
Mon, 10 Oct 2016 13:40:05 +0000 (10:40 -0300)
committerSven Eden <yamakuzure@gmx.net>
Wed, 5 Jul 2017 06:50:55 +0000 (08:50 +0200)
It is impossible to ship a fully generic PAM configuration upstream.
Therefore, ship a minimal configuration with the elogind --user requirements,
and add a note to DISTRO_PORTING documenting this.

Fixes #4284

src/login/elogind-user.m4

index f188a8e548fb8926e89ed037137b50c098eb39d8..be2a04d1dd4bf537719f4a0ecfb6f7db566dfa36 100644 (file)
@@ -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_elogind.so