[10/10] libpam: register PAM session with logind

Submitted by Ross Burton on Jan. 19, 2013, 10:47 p.m. | Patch ID: 42949


Message ID 2a93db0fd8302290ac0f2c6c83ea640ad273c3e2.1358635193.git.ross.burton@intel.com
State Accepted
Commit e344f3e7d5c74735e58c85ec90521395a4cf9b01
Headers show

Commit Message

Ross Burton Jan. 19, 2013, 10:47 p.m.
From: Koen Kooi <koen@dominion.thruhere.net>

This make screen/tmux/etc work as intended.

Signed-off-by: Martin Donnelly <martin.donnelly@ge.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Ross Burton <ross.burton@intel.com>
 meta/recipes-extended/pam/libpam/pam.d/common-session |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-extended/pam/libpam/pam.d/common-session b/meta/recipes-extended/pam/libpam/pam.d/common-session
index a594dd9..7fd61fe 100644
--- a/meta/recipes-extended/pam/libpam/pam.d/common-session
+++ b/meta/recipes-extended/pam/libpam/pam.d/common-session
@@ -16,4 +16,6 @@  session	requisite			pam_deny.so
 # since the modules above will each just jump around
 session	required			pam_permit.so
 # and here are more per-package modules (the "Additional" block)
-session	required	pam_unix.so 
+session	required	pam_unix.so
+# Register with logind to make screen/tmux/etc work
+session	optional	pam_systemd.so