Re: suexecusergroup cannot run as forbidden uid
Oops, je me rends compte à l'instant que je me suis complètement trompé
de groupe lors du post. Toutes mes excuses.
Cross post et suivi (d'où l'intégralité reprise) sur fciws.
Le Tue, 03 Jan 2006 02:10:17 -0400, Christophe PEREZ a écrit:
> Bonsoir,
>
> apache-2.0.54-r31
>
> J'ai un petit problème.
> 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)
>
> Je ne parviens pas à voir ce qui coince.
> Bien sûr, si je commente le SuExecUserGroup, ça fonctionne.
>
> # getent passwd | grep 94
> asterisk:x:94:94:added by portage for asterisk:/var/lib/asterisk:/bin/bash
>
> # ls -l /var/www/amp.novazur.fr/cgi-bin/vmail.cgi
> -rwxrwxr-x 1 asterisk asterisk 26421 jan 3 01:17 /var/www/amp.novazur.fr/cgi-bin/vmail.cgi
>
> J'avoue être très peu habitué à ce SuExec. Pourtant, il me faudrait
> bien apache qui tourne sous un tel user:group pour ce vhost, mais
> évidemment pas pour le reste.
>
> Si quelqu'un veut bien m'apporter un petit éclairage, j'espère avoir
> donné tous les éléments nécessaires et suffisants.
> Merci d'avance.
--
Christophe PEREZ
Écrivez moi sans _faute !
|