in reply to How to execute a shell command from a CGI script
I am having severe ogita about that bit of code. You have created a security hole I could drive a truck through. Running sudo from a CGI script is a bad bad idea. Think of a way of doing this without the sudo.
Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; Blog: http://blog.berghold.net Warning: No political correctness allowed.