httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen K├Ąchelin ...@linux.amsjk.de>
Subject Re[2]: [users@httpd] i'am to stupid to configure suexec
Date Sun, 29 Sep 2002 20:46:23 GMT
SL> Jochen K├Ąchelin wrote:
>> --enable-suexec \
>> --with-suexec-caller=99 \

SL> Looking again at the documentation, I think this line should be 
SL> "--with-suexec-caller=#99" (mind shell escaping when typing it; maybe \# 
SL> actually) or "--with-suexec-caller=nobody". It wants a username, unlike 
SL> the other two below.


Now I use the following:

--with-suexec-caller=nobody \
--with-suexec-docroot=/www \
--with-suexec-uidmin=500 \
--with-suexec-gidmin=500 \
--with-suexec-logfile=/usr/local/apache2/logs/suexec_log

and your testscript

#!/usr/bin/perl
print "Content-type: text/plain\n\n";
print "I am real uid $<, effective uid $>.\n";
print "I am real gid $(, effective gid $).\n";

shows:

I am real uid 500, effective uid 500.
I am real gid 500 500, effective gid 500 500.

Looks good, or??

-- 
Jochen


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message