in reply to Re^3: perl script using sudo
in thread perl script using sudo
system `/usr/local/www/cgi-bin/ntop/ntop.sh stop` or die "cannot stop +ntop: $!"; sleep(8); $cc = `sudo /usr/local/www/cgi-bin/ntop/ntop.sh start` or die "cannot +start ntop: $!"; print "status:</font> ",$cc,"\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: perl script using sudo
by halley (Prior) on Jul 24, 2005 at 16:48 UTC |