In unix, only root can kill all processes and the other users can only kill their own.
I suggest you should go for a tool called sudo and configure it so that the www (or apache or whatever) can only run this script. Than you need to call
from inside your cgi code.system("sudo kill.pl");
In reply to Re: sending kill signals from perl CGIs
by mce
in thread sending kill signals from perl CGIs
by tachekent
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |