LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-18-2003, 03:41 AM   #1
kalbaz
LQ Newbie
 
Registered: Oct 2003
Location: Melbourne, Australia
Distribution: RH9
Posts: 4

Rep: Reputation: 0
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?
 
Old 10-18-2003, 10:53 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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
 
Old 10-18-2003, 06:25 PM   #3
kalbaz
LQ Newbie
 
Registered: Oct 2003
Location: Melbourne, Australia
Distribution: RH9
Posts: 4

Original Poster
Rep: Reputation: 0
yes they are the correct user and group, not the words user and group
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HELP:perl CGI problem supermyself Programming 2 06-12-2005 08:34 AM
CGI -PERL Problem!!! lewkh Fedora 3 05-10-2005 12:19 AM
cgi perl : I cant get perl to append my html file... the_y_man Programming 3 03-22-2004 05:07 AM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM
Problem with perl and cgi files JSP Linux - General 1 03-22-2002 08:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration