Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: sending kill signals from perl CGIs

by mce (Curate)
on Jan 02, 2003 at 12:39 UTC ( #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? | Other CB clients
Other Users?
Others chanting in the Monastery: (1)
As of 2022-10-01 08:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (126 votes). Check out past polls.

    Notices?