LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   CGI/Perl problem with SuExec (http://www.linuxquestions.org/questions/linux-general-1/cgi-perl-problem-with-suexec-105461/)

kalbaz 10-18-2003 03:41 AM

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?

trickykid 10-18-2003 10:53 AM

In your config file where you have:

SuExecUserGroup user group
Options ExecCGI

Do you actually have user and group listed there or your actual user and group names you want to use this to run as? Those listed there have to be valid users and or group...

More information here: http://linux.mizi.co.kr/manual/mod/m...uexecusergroup

kalbaz 10-18-2003 06:25 PM

yes they are the correct user and group, not the words user and group


All times are GMT -5. The time now is 11:00 AM.