[Lug-Nuts] suExec on Apache

From: Brian Lavender (brian@brie.com)
Date: Thu Nov 04 1999 - 17:21:11 PST


Is anyone out there running suExec on apache? I was playing
with it, and I don't know if I got it right. As I understand,
suExec will run cgi's suid or sgid. Does this mean that you
have to suid the script, or is the suExec wrapper doing this?
How about permissions on the script? Do they need to be 755
for a PERL script. I am also wondering about the directory
where I store my cgi scripts. I have it sgid so that when
people add files to the directory, they are owned by the www-data
group. This way a group of people can work on the cgi's in
this directory. Will this stop suExec from executing?

I did some testing with apache with and without suExec. It
seemed that my script ran suid by just chmod u+s scriptname
without requiring suExec.

Any comments welcome.

brian

-- 
Brian Lavender
http://www.brie.com/brian/



This archive was generated by hypermail 2b29 : Fri Feb 11 2000 - 16:20:21 PST