Connect plugin to program

Ignacio Vazquez-Abrams ivazqueznet at gmail.com
Sat Sep 13 05:51:50 PDT 2008


On Sat, 2008-09-13 at 14:23 +0200, Timo wrote:
> 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.

Take a look at hal and gnome-volume-manager for an example of something
like this.

-- 
Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>

PLEASE don't CC me; I'm already subscribed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20080913/ff6819d7/attachment.pgp 


More information about the dbus mailing list