[CentOS] OT Proftpd Continued

Wed Feb 22 07:46:03 UTC 2006
Ed Morrison <edward.morrison at gmail.com>

Mike Kercher wrote:

>You must have just upgraded your proftpd.  Here's the fix...make your
>/etc/pam.d/ftp file look like this:
>
>auth       required     /lib/security/pam_listfile.so item=user sense=deny
>file=/etc/ftpusers onerr=succeed
>auth       required     /lib/security/pam_pwdb.so shadow nullok
>
># If this is enabled, anonymous logins will fail because the 'ftp' user does
># not have a "valid" shell, as listed in /etc/shells.
>#
># If you enable this, it is recommended that you do *not* give the 'ftp'
># user a real shell. Instead, give the 'ftp' user /bin/false for a shell and
># add /bin/false to /etc/shells.
>#auth       required    /lib/security/pam_shells.so
>
>account    required     /lib/security/pam_pwdb.so
>session    required     /lib/security/pam_pwdb.so
>
>Mike
> 
>  
>
Mike, thanks for the reply.  It got me into the right area to get this 
resolved.  I set my /etc/pam.d/ftp file as you suggested but that did 
not fix my problem, although setting the file to this did:

#%PAM-1.0
auth    required        pam_unix.so     nullok
account required        pam_unix.so
session required        pam_unix.so


Again, I would still be wondering how to fix if not for your 
assistance....thanks again!

Ed