Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2001 21:59:27 -0500
From:      GB Clark II <gclarkii@vsservices.com>
To:        =?iso-8859-1?q?S=F8ren=20Neigaard?= <neigaard@e-box.dk>
Cc:        newbies@FreeBSD.ORG
Subject:   Re: Re[4]: automatic start of Apache
Message-ID:  <01093021592704.38597@prime.vsservices.com>
In-Reply-To: <1521651324.20010930225604@e-box.dk>
References:  <200109301651.JAA23450@ocis.ocis.net> <01093013473503.38597@prime.vsservices.com> <1521651324.20010930225604@e-box.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 30 September 2001 15:56, Søren Neigaard wrote:
> Sunday, September 30, 2001, 8:47:35 PM, GB wrote:
> >>>> stuff about using /usr/local/etc/rc.d/ scripts...
> >>
> >> I like this method best :) I can see that httpd runs as nobody. Can I
> >> change this, and is it a good/bad idea?
>
> GCI> Yes, this can be changed with a wrapper or other means.
> GCI> It depends on what you want to run the web server as.  Another
> non-prived GCI> account should be OK...  Root would be very bad...:)
> Yes I can guess that. I would like it to run as a apache user, how can
> this be done? Could you give a example please?

Look in the httpd.conf file for 'User' and 'Group'.  These are the ones you 
would change, just make sure that your permissions on your files and dirs are
proper.

> --
> Med venlig hilsen/Best regards,
>  Søren Neigaard mailto:neigaard@e-box.dk
>

GB

-- 
GB Clark II             | Roaming FreeBSD Admin
gclarkii@VSServices.COM | General Geek 
           CTHULU for President - Why choose the lesser of two evils?

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01093021592704.38597>