Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Dec 2001 18:53:52 -0600
From:      Jeff Muse <jmuse@kcnet.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Getting Apache to run as user www only
Message-ID:  <20011230185352.A11635@miles.kcnet.com>
In-Reply-To: <1009759250.60bc5ff9tdrake@myrealbox.com>; from tdrake@myrealbox.com on Sun, Dec 30, 2001 at 06:40:50PM -0600
References:  <1009759250.60bc5ff9tdrake@myrealbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 30, 2001 at 06:40:50PM -0600, Troy wrote:
> Hi all,
> I've been running Apache for quite a while, but I'm trying to secure my system and keep as many things from running as root as possible. I have the Apache config set to the default www as the user to run under, but the initial httpd process runs as root. Is there a way to get all the httpd processes to run as www?

I don't think so - and if there is, you probably don't want to.  You have to 
be root to bind to ports 1023 and below. If all the processes ran as www, you 
wouldn't be able to bind to port 80.

Jeff

-- 

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




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