From owner-freebsd-questions Sat Aug 21 16: 3:39 1999 Delivered-To: freebsd-questions@freebsd.org Received: from luke.cpl.net (luke.cpl.net [192.216.136.195]) by hub.freebsd.org (Postfix) with ESMTP id BCE3214E38 for ; Sat, 21 Aug 1999 16:03:37 -0700 (PDT) (envelope-from shawn@luke.cpl.net) Received: (from shawn@localhost) by luke.cpl.net (8.9.3/8.9.3) id XAA28068; Sat, 21 Aug 1999 23:04:30 GMT Date: Sat, 21 Aug 1999 23:04:30 +0000 From: Shawn Ramsey To: Ludwig Pummer Cc: questions@FreeBSD.ORG Subject: Re: /etc Message-ID: <19990821230430.B10092@cpl.net> References: <19990821100023.A10092@cpl.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: ; from Ludwig Pummer on Sat, Aug 21, 1999 at 04:08:28AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Aug 21, 1999 at 04:08:28AM -0700, Ludwig Pummer wrote: > On Sat, 21 Aug 1999, Shawn Ramsey wrote: > > > > But how does Apache know that your home directory is /disk6/shawn if > > > there's no [accessible] /etc/passwd to look it up in ? :) > > > > Yup. :) I should have figured that out... But it also needs access to > > pwd.db. Why is that? I wouldn't think the webserver could read or understand > > that file. > > It would make more sense of Apache to use the standard system call > (whatever it is) to get a user's home directory, rather than parsing > /etc/passwd directly. pwd.db is the db version of passwd, and it's what > the system calls use. I'm no longer sure that /etc/passwd is needed, since > pwd.db is what the system uses. Yes, and Apache does not need /etc/passwd. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message