From owner-freebsd-questions Sat Aug 21 4:10:43 1999 Delivered-To: freebsd-questions@freebsd.org Received: from inet.chip-web.com (c1003518-a.plstn1.sfba.home.com [24.1.82.47]) by hub.freebsd.org (Postfix) with SMTP id 8051214FA3 for ; Sat, 21 Aug 1999 04:10:38 -0700 (PDT) (envelope-from ludwigp@bigfoot.com) Received: (qmail 1469 invoked from network); 21 Aug 1999 11:07:54 -0000 Received: from toy.chip-web.com (@172.16.1.30) by inet.chip-web.com with SMTP; 21 Aug 1999 11:07:54 -0000 Date: Sat, 21 Aug 1999 04:08:28 -0700 (PDT) From: Ludwig Pummer X-Sender: ludwigp@toy.chip-web.com To: Shawn Ramsey Cc: questions@freebsd.org Subject: Re: /etc In-Reply-To: <19990821100023.A10092@cpl.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. --Ludwig Pummer ( ludwigp@bigfoot.com ) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message