?
Solved

suexec with Redhat 9.0

Posted on 2003-12-03
1
Medium Priority
?
596 Views
Last Modified: 2008-03-17
First, I recently switched from Mandrake to Redhat 9.0 and httpd-2.0.40-21
I am trying to run a script which requires root privileges.  
The script is located in /var/www/cgi-bin/

I ran chmod a-s myscript.cgi to my script

In my httpd.conf I have
User apache
Group apache
So I ran the following commands:
chgrp apache /usr/sbin/suexec
chmod 4750 /usr/sbin/suexec
(It says to do this at http://httpd.apache.org/docs-2.0/suexec.html)

I have added the following line to httpd.conf:
LoadModule suexec_module modules/mod_suexec.so

When I start apache, I get the following in my error log:
[Wed Dec 03 15:25:26 2003] [notice] Apache/2.0.40 (Red Hat Linux) configured -- resuming normal operations
[Wed Dec 03 15:26:18 2003] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)


I have found a thread with a similar problem, but their solution was to install a src rpm.  I would prefer to not have to reinstall.

Thank you for your time.
0
Comment
Question by:DontLookDown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
jerkface2098 earned 2000 total points
ID: 9877445
Make sure you have the perl-suid rpm installed.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month12 days, 15 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question