7
votes
1answer
841 views

Root tasks using dbus and policykit

At some point my application needs to do administrative tasks like creating a file in /etc or running commands with root priveleges. I know just could do a Q&D: os.popen("pkexec foo bar") But ...
3
votes
0answers
319 views

Define a Policykit action for Upstart

I'm trying to get some user to start, stop and reload services by using the udev Upstart interface. I'm using Ubuntu 10.04. I created the file ...