[PyKDE] Run program as root

Tina Isaksen tina at bestemselv.com
Tue Feb 14 15:26:22 GMT 2006


Hans-Peter Jansen wrote:

>>On 2/13/06, Tina Isaksen <tina at bestemselv.com> wrote:
>>    
>>
>>>Noob question:
>>>As a learning project I'm making some system tool frontends for kde
>>>(using Qt), but for the life of me I can't find how to make a
>>>script run as root (superuser)... and prompt for the root password
>>>first of course?
>>>      
>>>
>
>Try running kdesu "ps auxww" to get a nice password request UI..
>
>Pete
>
Oh for crying out loud! Of course...

"I wish I could see the woods but all those darn trees are in the way..." :P

Thanks Pete!

Tina




More information about the PyQt mailing list