]> git.ipfire.org Git - thirdparty/systemd.git/commit
logind: check PolicyKit before allowing VT switch 14633/head
authorLennart Poettering <lennart@poettering.net>
Wed, 22 Jan 2020 11:04:38 +0000 (12:04 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 22 Jan 2020 11:34:31 +0000 (12:34 +0100)
commit4acf0cfd2f92edb94ad48d04f1ce6c9ab4e19d55
treea21806b65f6612d270d833994708be61a8b1a5d7
parent269e4d2d6b75329ae39a71ebe2c14500e03cda95
logind: check PolicyKit before allowing VT switch

Let's lock this down a bit. Effectively nothing much changes, since the
default PK policy will allow users on the VT to change VT. Only users
with no local VT session won't be able to switch VTs.
src/login/logind-dbus.c
src/login/logind-seat-dbus.c
src/login/logind-session-dbus.c
src/login/org.freedesktop.login1.policy