Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: sending kill signals from perl CGIs

by mce (Curate)
on Jan 02, 2003 at 12:39 UTC ( [id://223758]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://223758]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-25 21:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found