Hi

I would like to run an suid perl script that among other things sends a
kill -USR1 signal to a process.  I have read about Perl tainting variables
for security etc and to write a .c wrapper.  I did this but still get an
error running system() calls from within my perl script.  I changed the
system call to do a fork and then exec the kill in the child but this still
errors with the statement : Insecure dependency in exec while running
setuid at .....

The C executable is setuid but the perl script is not.

Basically the process I wish to send a kill signal to is a redirector for
squid.  The process is owned by the squid user.  The kill signal makes the
redirector dump statistics about itself to a file.  I want to run a script
from my cgi-bin which will run as user nobody that can send the kill signal
to the process that squid owns.  The script works fine when run as root.

Does anyone know how I can get my perl script to run as another user and
issue a kill signal to a process?

Thankyou.



***************************************************************************************************************************************************************************
This email and any files transmitted with it, are confidential and is intended solely 
for the use of the individual or entity to whom they are addressed.
If you have received this email in error, please notify the system manager.

This footnote also confirms that this email message has been scanned by AUSTAR 
Communications content  and virus scanning applications
for the presence of computer viruses.
***************************************************************************************************************************************************************************

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to