232-systemd-user-pam.patch 410 B

1234567891011121314151617
  1. --- a/src/login/systemd-user.m4
  2. +++ b/src/login/systemd-user.m4
  3. @@ -2,11 +2,7 @@
  4. #
  5. # Used by systemd --user instances.
  6. -account required pam_unix.so
  7. +account include system-services
  8. -m4_ifdef(`HAVE_SELINUX',
  9. -session required pam_selinux.so close
  10. -session required pam_selinux.so nottys open
  11. -)m4_dnl
  12. -session required pam_loginuid.so
  13. +session include system-services
  14. session optional pam_systemd.so