chiark / gitweb /
logind: allow unprivileged session-device access
authorDavid Herrmann <dh.herrmann@gmail.com>
Tue, 15 Oct 2013 19:13:39 +0000 (21:13 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Tue, 15 Oct 2013 19:13:39 +0000 (21:13 +0200)
commitd7d1c8f983599dca6ee30229375215978657c072
tree846aae59711cb498d368e8a1155e9f953d5b9039
parent775657712d0f6d14b70a0fe947a95a9ecc212440
logind: allow unprivileged session-device access

The session-device/control API was introduced for unprivileged device
access from within a session. Add the required dbus policy to the default
logind policies.

Note: logind validates that only root and the user of a session can
use the API. Furthermore, only a single API user gets access at a time.
src/login/org.freedesktop.login1.conf