Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 1999 04:08:28 -0700 (PDT)
From:      Ludwig Pummer <ludwigp@bigfoot.com>
To:        Shawn Ramsey <shawn@cpl.net>
Cc:        questions@freebsd.org
Subject:   Re: /etc
Message-ID:  <Pine.BSF.4.10.9908210406030.38519-100000@toy.chip-web.com>
In-Reply-To: <19990821100023.A10092@cpl.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908210406030.38519-100000>