FS#27259 - [shadow] add pam_systemd as session module for login
Attached to Project:
Arch Linux
Opened by Dave Reisner (falconindy) - Saturday, 26 November 2011, 02:19 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 26 November 2011, 05:52 GMT
Opened by Dave Reisner (falconindy) - Saturday, 26 November 2011, 02:19 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 26 November 2011, 05:52 GMT
|
Details
login's pam stack should try to call pam_systemd. This drops
all processes created under the login session into a
separate cgroup and allows better process control. It's
recommended by upstream, and something we also advertise in
the wiki.
Based on the current /etc/pam.d/login, we only need to add an additional line at the end: -session optional pam_systemd.so For those unfamiliar with the syntax, the leading '-' will cause pam to ignore errors in loading the module, making this a NOOP when systemd isn't installed. Related: |
This task depends upon
Closed by Dave Reisner (falconindy)
Saturday, 26 November 2011, 05:52 GMT
Reason for closing: Implemented
Additional comments about closing: testing/shadow-4.1.4.3-3
Saturday, 26 November 2011, 05:52 GMT
Reason for closing: Implemented
Additional comments about closing: testing/shadow-4.1.4.3-3