Even though this is more of a python question than a pykde question,<br>
<br>
#!/bin/sh<br>
<br>
# wrapper shell script<br>
sudo /path/to/python $@<br><br>
<br>
<br><div><span class="gmail_quote">On 2/13/06, <b class="gmail_sendername">Tina Isaksen</b> <<a href="mailto:tina@bestemselv.com">tina@bestemselv.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Noob question:<br>As a learning project I'm making some system tool frontends for kde<br>(using Qt), but for the life of me I can't find how to make a script run<br>as root (superuser)... and prompt for the root password first of course?
<br><br>Thanks<br>Tina<br><br>_______________________________________________<br>PyKDE mailing list <a href="mailto:PyKDE@mats.imk.fraunhofer.de">PyKDE@mats.imk.fraunhofer.de</a><br><a href="http://mats.imk.fraunhofer.de/mailman/listinfo/pykde">
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde</a><br></blockquote></div><br><br clear="all"><br>-- <br>Patrick Kidd Stinson<br><a href="http://pkaudio.sourceforge.net/">http://pkaudio.sourceforge.net/</a><br><a href="http://pksampler.sourceforge.net/">
http://pksampler.sourceforge.net/</a>