Afficher un message
Vieux 05/01/2006, 22h10   #2
Patrick Mevzek
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: suexecusergroup cannot run as forbidden uid

Le Thu, 05 Jan 2006 12:26:31 -0400, Christophe PEREZ a écrit :
>> Dans un vhost créé par un package (AMP) sous gentoo, j'ai :
>> SuExecUserGroup asterisk asterisk
>> ScriptAlias /cgi-bin/ /var/www/amp.novazur.fr/cgi-bin/
>> <Directory "/var/www/amp.novazur.fr/cgi-bin/">
>> AllowOverride none
>> Options ExecCGI
>> Order allow,deny
>> Allow from all
>> </Directory>
>>
>> Or, lorsque je tente d'exécuter /cgi-bin/vmail.cgi
>> J'ai l'erreur :
>> [2006-01-03 02:03:21]: cannot run as forbidden uid (94/vmail.cgi)


Quand on compile suexec on spécifie les uid/gid minimaux et maximaux. Et
je crois que c'est 100 par défaut le minimum, donc refus pour 94.

Dans http://httpd.apache.org/docs/2.0/suexec.html cf
--with-suexec-uidmin=UID
Define this as the lowest UID allowed to be a target user for suEXEC. For most systems, 500 or 100 is common. Default value is 100.
--with-suexec-gidmin=GID
Define this as the lowest GID allowed to be a target group for suEXEC.
For most systems, 100 is common and therefore used as default value.

Il semble qu'une recompilation s'impose....


--
Patrick Mevzek . . . . . . Dot and Co (Paris, France)
<http://www.dotandco.net/> <http://www.dotandco.com/>
Dépêches sur le nommage <news://news.dotandco.net/dotandco.info.news>

  Réponse avec citation
 
Page generated in 0,05436 seconds with 9 queries