Quote:>I just recently installed the shadow password package and it seems to be
>working correctly except for ftp access. It appears that ftpd is using
>/etc/passwd instead of /etc/shadow. Is this a known problem or did I
>install the package wrong. I'm new to Linux and system administration.
>I've looked at the man pages and they don't mention ftp. There also
>doesn't seem to be a HOWTO or other documentation for the shadow package.
>I would appreciate any tips or pointers. If I need to provide more
>information, let me know what to provide. Thanks.
I also had this problem recently--as far as I know, the only way to make
it work is to hack the ftpd source. At least, that's what I did. I just
grabbed source for ftpd-diku, and put a small hack in ftpd.c. It works
great, but I'm not really sure if it would work with anonymous ftp; it was
a quick hack and I didn't look at the rest of the source too carefully.
Anyway, it is possible, if you make a call to the shadow routine (sorry,
forget the name) for the password, and stick that into the structure that
stores the info that already came from /etc/passwd.
-Ed
--
----------------------------------------------------------------------------
Iowa State University -or-