[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

suexec with Redhat 9.0

Posted on 2003-12-03
1
Medium Priority
?
603 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
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 …
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses
Course of the Month13 days, 7 hours left to enroll

656 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