machined: beef up PolicyKit actions
authorLennart Poettering <lennart@poettering.net>
Mon, 24 Aug 2015 19:27:37 +0000 (21:27 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 24 Aug 2015 20:46:45 +0000 (22:46 +0200)
commit4289c3a725062e2750da0baaf67fc53ba90e4739
tree8117b60373f01ac8883eb6b74c0f94ec3f9db177
parentb04c25f9ef6359ed0ae403bdbfe4df840aba0f58
machined: beef up PolicyKit actions

Introduce separate actions for creating login or shell sessions for
the local host or a local container. By default allow local unprivileged
clients to create new login sessions (which is safe, since getty will
ask for username and authentication).

Also, imply login privs from shell privs, as well as shell and login
privs from manage privs.
src/machine/machine-dbus.c
src/machine/org.freedesktop.machine1.policy.in