[pygtk] running pygtk application with root privileges

Gian Mario Tagliaretti gianmt at gnome.org
Mon Mar 12 22:20:25 WST 2007


2007/3/11, Miki <daily.cron a gmail.com>:

> How can I run pygtk application in root (setuid) mode or how can I ask the
> user to enter the root password (in the pygtk env.) and then run the
> application?

In gnome-python-extras you have the module gksu.

I'm currently making bindings for a more recent version of the
library, it still needs some more care.

cheers
-- 
Gian Mario Tagliaretti
http://www.parafernalia.org/pygtk/


More information about the pygtk mailing list