summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2013-01-19 22:47:13 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-20 12:46:11 +0000
commit58731bbdbd4ab4cfd560f14758a65efdfad2e28f (patch)
tree58a666f7579ec698e90958e6dd27fb2f5533db84
parent9e7c64ca9afbf27edd0d35a1830ce55ee6d778ab (diff)
downloadopenembedded-core-58731bbdbd4ab4cfd560f14758a65efdfad2e28f.tar.gz
openembedded-core-58731bbdbd4ab4cfd560f14758a65efdfad2e28f.tar.bz2
openembedded-core-58731bbdbd4ab4cfd560f14758a65efdfad2e28f.zip
libpam: register PAM session with logind
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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/pam/libpam/pam.d/common-session4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-extended/pam/libpam/pam.d/common-session b/meta/recipes-extended/pam/libpam/pam.d/common-session
index a594dd9d90..7fd61feea1 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