http://www.perlmonks.org?node_id=223758


in reply to sending kill signals from perl CGIs

Hi,

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

system("sudo kill.pl");
from inside your cgi code.
I hope this helps.
---------------------------
Dr. Mark Ceulemans
Senior Consultant
IT Masters, Belgium