<div dir="ltr">Hi,<br><br>I&#39;ve created a small script so that I can connect to the internet with one of the new Telecom TSticks. The script needs to be run as root though.<br><br>What I want to do is to be able to run the script as a user and then for it to prompt for the root user password.<br>
<br>Here&#39;s the script:<br><br><span><span><span style="font-size: 10pt; font-family: Verdana;"><b>#!/bin/sh<br>cd /etc/ppp/peers<br>pppd call cdma<br></b><br>What can I add to make it work the way I want?<br><br>Is it even a good idea to have this run as root, would it be better to allow the user to run pppd?<br>
<br>Any other ideas to make this more user friendly perhaps?<br><br>For those interested in getting this working for themselves here&#39;s what I put together to get it working:<br><br><a href="http://nznathan.blogspot.com/2008/08/telecom-tstick-on-opensuse-11.html">http://nznathan.blogspot.com/2008/08/telecom-tstick-on-opensuse-11.html</a> <br>
<br>Cheers<br><br>Nathan<br></span></span></span></div>