From owner-freebsd-questions Tue Sep 4 12:18:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web9306.mail.yahoo.com (web9306.mail.yahoo.com [216.136.129.55]) by hub.freebsd.org (Postfix) with SMTP id 903E737B403 for ; Tue, 4 Sep 2001 12:18:48 -0700 (PDT) Message-ID: <20010904191848.82639.qmail@web9306.mail.yahoo.com> Received: from [199.66.15.252] by web9306.mail.yahoo.com via HTTP; Tue, 04 Sep 2001 12:18:48 PDT Date: Tue, 4 Sep 2001 12:18:48 -0700 (PDT) From: Radhika Sambamurti Subject: Re: httpd user for Apache? To: "Søren" Neigaard Cc: freebsd-questions@freebsd.org In-Reply-To: <13211784995.20010904205308@e-box.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It is better not to call the user httpd as that is also one of the commands that starts apache. On my system, for instance, I have created a user apache and have placed all the executable files in the apache home directory. (the default location is usr/local i think). 1. create a user - using useradd command....just like adding any new user to the system. 2. create home directory 3. use the./configure command with prefix=/path to home dir (the README should have the info). example: ./configure prefix=/export/home/apache This will put all the binaries in export/home/apache Hopefully this was helpful. Thx, Radhika. --- Søren Neigaard wrote: > I have read somewhere that it is a good idea to make > you'r > applications run under specific users, and not under > root. How is the > best way to configure such a user, as an example a user > for the Apache > httpd deamon (i got so far as to name the user httpd). > Should it be in > a specific group, have restricted rights and so on... > > -- > Med venlig hilsen/Best regards, > Søren Neigaard mailto:neigaard@e-box.dk > -- > "The only truly secure computer is one buried in > concrete, with the power turned off and the network cable > cut." > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-newbies" in the body of the message ===== It's all a matter of perspective. You can choose your view by choosing where to stand. --Larry Wall __________________________________________________ Do You Yahoo!? Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger http://im.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message