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