]> err.no Git - systemd/commit
login: track login class (i.e. one of "user", "greeter", "lock-screen") for each...
authorLennart Poettering <lennart@poettering.net>
Tue, 14 Feb 2012 20:33:51 +0000 (21:33 +0100)
committerLennart Poettering <lennart@poettering.net>
Tue, 14 Feb 2012 20:37:49 +0000 (21:37 +0100)
commit55efac6cbcea0d8edda9c6820620ceb390009e7a
tree4cd4a938607d1ee6b8fd20e40d49d441bf134117
parent6edd7ca1624f89c9a36067b721a0280e748acb17
login: track login class (i.e. one of "user", "greeter", "lock-screen") for each session

This introduces the new PAM environment variable XDG_SESSION_CLASS. If
not set, defaults to "user".

This is useful for apps that want to distuingish real user logins from
"fake" ones which just exist to show a gdm login screen or a lock
screen.
src/login/loginctl.c
src/login/logind-dbus.c
src/login/logind-session-dbus.c
src/login/logind-session.c
src/login/logind-session.h
src/login/pam-module.c