On Mon, Feb 25, 2008 at 12:01 PM, Juan Fiol <[EMAIL PROTECTED]> wrote:

Hi Juan,

>  I am implementing a gui and I need to implement it such that, in some
>  occasions, the user can run a command with privileges (via sudo).

In python-gnome-extras we have python bindings for gksu2
http://svn.gnome.org/viewvc/gnome-python-extras/trunk/

maybe you want to have a look, there is also an example:
http://svn.gnome.org/viewvc/gnome-python-extras/trunk/examples/gksu2/simple.py?view=markup

cheers
-- 
Gian Mario Tagliaretti
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to