Even though this is more of a python question than a pykde question,

#!/bin/sh

# wrapper shell script
sudo /path/to/python $@



On 2/13/06, Tina Isaksen <[EMAIL PROTECTED]> 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?

Thanks
Tina

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde



--
Patrick Kidd Stinson
http://pkaudio.sourceforge.net/
http://pksampler.sourceforge.net/
_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to