1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 10:25:37 +03:00

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
This commit is contained in:
Felipe Sateler 2016-10-10 10:40:05 -03:00 committed by Lennart Poettering
parent 84a69ca9ba
commit baed1fedba
2 changed files with 8 additions and 3 deletions

View File

@ -41,6 +41,13 @@ NTP POOL:
NTP servers, then you will get served wrong time, and will NTP servers, then you will get served wrong time, and will
rely on services that might not be supported for long. rely on services that might not be supported for long.
PAM:
The default PAM config shipped by systemd is really bare bones.
It does not include many modules your distro might want to enable
to provide a more seamless experience. For example, limits set in
/etc/security/limits.conf will not be read unless you load pam_limits.
Make sure you add modules your distro expects from user services.
CONTRIBUTING UPSTREAM: CONTRIBUTING UPSTREAM:
We generally do no longer accept distribution-specific We generally do no longer accept distribution-specific

View File

@ -2,11 +2,9 @@
# #
# Used by systemd --user instances. # Used by systemd --user instances.
account include system-auth
m4_ifdef(`HAVE_SELINUX', m4_ifdef(`HAVE_SELINUX',
session required pam_selinux.so close session required pam_selinux.so close
session required pam_selinux.so nottys open session required pam_selinux.so nottys open
)m4_dnl )m4_dnl
session required pam_loginuid.so session required pam_loginuid.so
session include system-auth session optional pam_systemd.so