Solved

suexec with Redhat 9.0

Posted on 2003-12-03
1
570 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
1 Comment
 
LVL 1

Accepted Solution

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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What may be wrong with my php http post function 6 53
PHP temp path missing 4 49
PHP Error Settings 12 78
Problem with .htaccess file 4 66
Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

863 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now