[CentOS] proftpd problem

Sun Aug 13 18:40:56 UTC 2006
Mike Kercher <mike at vesol.com>

centos-bounces at centos.org <> scribbled on Saturday, August 12, 2006 4:14
PM:

> i installed proftpd on a fully updated centos 4.3 server.
> 
> the servers sits on a private lan (192.168.1.*)
> 
> when trying to acces the ftp (both from inside the lan and
> from outside trough a nat router) i cannot login
> 
> port forwarding is ok as i can enteer both username and password
> 
> error : 530 login incorrect
> 
> any ideas?
> 
> thanks

Do you have a file called /etc/pam.d/ftp containing:

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

That will probably fix your problem.

Mike