Best way to gain root privileges

GSO gsowww at
Fri Feb 18 23:26:39 CET 2011

On 18 February 2011 20:23, Alexander Kapps <alex.kapps at> 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:

A python package:

But there is example python code here:

I'm still not clear exactly how this works but will post some code
once I figure it out.

More information about the Python-list mailing list