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

login
register
mail settings
Submitter Ross Burton
Date Jan. 19, 2013, 10:47 p.m.
Message ID <2a93db0fd8302290ac0f2c6c83ea640ad273c3e2.1358635193.git.ross.burton@intel.com>
Download mbox | patch
Permalink /patch/42949/
State Accepted
Commit 58731bbdbd4ab4cfd560f14758a65efdfad2e28f
Headers show

Comments

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

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