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

Ross Burton
2013-01-19T23:04:58Z

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(-)

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
--
1.7.10.4