Most likely, your CGI is not run as root, or sudo does not want to execute from the webserver. Maybe you can find more information in the web server error log or in the sudo log.
Personally, I would look at Net::Ping to construct and send the ping packets.
In reply to Re: Perl CGI SUDO -> SSH -> Command
by Corion
in thread Perl CGI SUDO -> SSH -> Command
by maguilu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |