Connect plugin to program
Timo
timovwb at gmail.com
Sat Sep 13 05:23:41 PDT 2008
Hello all, I want to know if the following can be done with d-bus.
I have written a program that needs to do all of it's commands as root,
so I always start it as root. Now I want to write a plugin for a
messenger client that also needs to do these commands, but instead of
activating the plugin as root, I was thinking if it was possible to
start my main program (as root ofcourse) and then let the plugin use the
commands in the program. So the plugin can be used as normal user, but
can execute commands that need root-privileges.
Can d-bus do something like this? The program + plugin are written in
Python.
Greets
More information about the dbus
mailing list