Date: Sat, 21 Aug 1999 23:04:30 +0000 From: Shawn Ramsey <shawn@cpl.net> To: Ludwig Pummer <ludwigp@bigfoot.com> Cc: questions@FreeBSD.ORG Subject: Re: /etc Message-ID: <19990821230430.B10092@cpl.net> In-Reply-To: <Pine.BSF.4.10.9908210406030.38519-100000@toy.chip-web.com>; from Ludwig Pummer on Sat, Aug 21, 1999 at 04:08:28AM -0700 References: <19990821100023.A10092@cpl.net> <Pine.BSF.4.10.9908210406030.38519-100000@toy.chip-web.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990821230430.B10092>