On 18 February 2011 20:23, Alexander Kapps <alex.ka...@web.de> wrote: ... > Don't know if this helps you, but at least for CentOS 5.4, gksudo is > available in the gksu package from rpmforge.
It looks as though policykit includes similar functionality, namely the command pkexec replaces gksudo: http://hal.freedesktop.org/docs/polkit/pkexec.1.html http://hal.freedesktop.org/docs/polkit/polkit.8.html http://www.freedesktop.org/wiki/Software/PolicyKit A python package: http://pypi.python.org/pypi?:action=search&term=polkit&submit=search But there is example python code here: http://hal.freedesktop.org/docs/polkit/polkit-apps.html I'm still not clear exactly how this works but will post some code once I figure it out. -- http://mail.python.org/mailman/listinfo/python-list