libpam: register PAM session with logind
authorKoen Kooi <koen@dominion.thruhere.net>
Sat, 19 Jan 2013 22:47:13 +0000 (22:47 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 20 Jan 2013 12:58:56 +0000 (12:58 +0000)
This make screen/tmux/etc work as intended.

(From OE-Core rev: 58731bbdbd4ab4cfd560f14758a65efdfad2e28f)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/pam/libpam/pam.d/common-session

index a594dd9..7fd61fe 100644 (file)
@@ -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