CGI/Perl problem with SuExec
I'm trying to run a script to kill a process and off course have to run the script as a different user (not root of course). I have configured apache (v2) with VirtualHost for the directly and have in the virtual host:
SuExecUserGroup user group
Options ExecCGI
The handler for CGI in apache loads ok as well and the error_log shows suexec wrapper loads ok as well.
When i run the script from a webpage, the error logs shows:
kill 15049: Operation not permitted
So obviously its not running the script as the correct user but its still using apache user. Don't really have any experience with SuExec, anyone got any ideas?
|