chiark / gitweb /
logind: make session type and class settable via the same ways
authorLennart Poettering <lennart@poettering.net>
Wed, 5 Feb 2014 17:55:18 +0000 (18:55 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 5 Feb 2014 17:55:18 +0000 (18:55 +0100)
commit49ebd11fb0ea6af249990439bf0690641e8be559
treece96ae7e60f7e541d9d46870df5df3efa2a51ead
parentd9eb81f9844f6d28b52e44b2c0e6e280a61d8200
logind: make session type and class settable via the same ways

If the session type/class is set via environment variables, use that,
and otherwise fallback to something that is set via the PAM module
command line.
man/pam_systemd.xml
man/sd_session_is_active.xml
src/login/pam-module.c