From owner-freebsd-questions Thu Jul 13 12: 4:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from luna.osd.bsdi.com (luna.geekhouse.net [64.81.6.50]) by hub.freebsd.org (Postfix) with ESMTP id 0F05437B953 for ; Thu, 13 Jul 2000 12:04:12 -0700 (PDT) (envelope-from jim@luna.osd.bsdi.com) Received: by luna.osd.bsdi.com (Postfix, from userid 1000) id 110B831BC; Thu, 13 Jul 2000 12:04:06 -0700 (PDT) Date: Thu, 13 Jul 2000 12:04:06 -0700 From: Jim Mock To: Rick Hamell Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Apache and group info Message-ID: <20000713120406.D35366@luna.osd.bsdi.com> Reply-To: jim@luna.osd.bsdi.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.3.5i In-Reply-To: ; from hamellr@aracnet.com on Thu, Jul 13, 2000 at 11:50:07AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 13 Jul 2000 at 11:50:07 -0700, Rick Hamell wrote: > > I've got Apache setup but I'm trying to make it a little bit > more secure. According to the Docs and what info I can find, I should > create a group and a user that is allowed to execute apache. I can do > the user no problem, but how do I add groups? Addgroup dosen't seem to > be a vaild command under 3.4 (and locate dosen't find it.) Edit your /etc/group file and add something like.. www:*:500: (Assuming you want to use ``www'' as the user and group. If not, change the www to whatever you want.) > Also, where is the root directory of apache by default, aka where > would I put the home page for my domain? /usr/local/www looks like a > good place. I assume I can change that easily enough in httpd.conf, > right? Thanks in advance for answering these basic questions. :) Depends on how you installed it :-) Look in /usr/local/www/data, or /usr/local/share/doc/apache. Those are probably the most common places for it. - jim -- /* jim mock - berkeley software design, inc - open source division */ /* documentation manager - jim@FreeBSD.org - jim@luna.osd.bsdi.com */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message