Posted by Toby A Inkster on 03/29/07 18:14
theGerm wrote:
> I have this
> <?php system("sudo /etc/init.d/squid reload 2>&1"); ?>
> on that page I just see text - Password:
You need to configure sudo to be able to run that command without
prompting for a password. Take a look at the sudo man page, and if you
still need help, try a Linux newsgroup.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Geek of ~ HTML/SQL/Perl/PHP/Python*/Apache/Linux
* = I'm getting there!
[Back to original message]
|