Subject: Re: pwd_mkdb and ~ftp
To: None <>
From: Charles M. Hannum <>
List: current-users
Date: 01/22/1995 17:29:32
   So, in my anonymous ftp heirarchy, I have a stub copy of /etc/passwd for
   ~ftp/bin/ls to make use of.  It turns out that it *doesn't make use of it,
   however, because the passwd routines demand to have a DBM database
   available.  pwd_mkdb doesn't appear to have an option for building a
   database anywhere except the live location.

>From /usr/src/etc/Makefile:

	chroot ${DESTDIR}/ pwd_mkdb -p /etc/master.passwd

This requires having a copy of pwd_mkdb(8) in that hierarchy, though.