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.
In reply to Holy Security Hole Batman!
by blue_cowdawg
in thread How to execute a shell command from a CGI script
by antovinraj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |