kinvolk-archives / tcd

traffic control daemon
Apache License 2.0
21 stars 8 forks source link

integrate with polkit / restrict access to D-Bus methods #6

Open alban opened 8 years ago

alban commented 8 years ago

Access to tcd's D-Bus methods is currently forbidden to non-root users.

Instead of this D-Bus policy, tcd could instead integrate with polkit so that non-root users will be asked a password, in the same way as systemctl.

alban commented 8 years ago

https://www.collabora.com/about-us/blog/2015/06/08/why-polkit-(or,-how-to-mount-a-disk-on-modern-linux)/