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
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Eric Belanger (Snowman)
Dave Reisner (falconindy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

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:  FS#27255 
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

Loading...