Subject: Re: wu-ftp
To: John F. Woods <jfw@jfwhome.funhouse.com>
From: Irving Reid <irving@platform.com>
List: current-users
Date: 04/05/1995 22:57:06
> > I solved the problem with .message file not displaying. The only problem
> > I have left is when doing 'ls -l' it shows a number for the user instead
> > of name (i.e. '0' instead of 'root').
>
> That's easy. Create ~ftp/etc/pwd.db and ~ftp/etc/spwd.db files. Of course,
> doing THIS isn't as easy as it looks, since the tool that does it KNOWS
> that the results HAVE to go in /etc...
>
> Either quickly edit pwd_mkdb to be more flexible, or put a copy of pwd_mkdb
> in ~ftp/usr/sbin/pwd_mkdb, put a shell in ~ftp/bin/sh, and use chroot.
Nifty 4.4BSD trick: union mount ~ftp/etc on top of /etc, and then just
do a normal pwd_mkdb. You may get a complaint about entries missing
from the password file when you go to unmount it, but it works just
fine.
- irving -