Re: Fichier de démarrage
On 16 Jul 2001, Laurent Martelli wrote:
> >>>>> "NDSoftware" == NDSoftware <extml@ndsoftware.net> writes:
>
> NDSoftware> Hum, c'est normal que avec ton script le pid père de
> NDSoftware> apache soit sous root ? Comment faire pour que lui soit
> NDSoftware> aussi comme les fils sous root ? Merci
>
> C'est normal. Pour des raisons de sécurité. Les processus qui font le
> vrai boulot ne tournent pas avec les droits de root mais www-data. Ce
> qui est amplement suffisant.
>
Malgre que le sujet soit... hors sujet, je dirais meme plus:
<httpd.conf>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
...
</httpd.conf>
Oups... j'aurais du dire RTFM!
--
Life is hard but the root password helps.
-- Anonymous
Gregoire Welraeds
<gregoire (at) welraeds (dot) be>
Reply to: