Sep 10, 2015

0 vsftpd 530 error Login failed


vsftpd 530 error Login failed



Change vsftpd to ftp in "pam_service_name=ftp"

  • sudo nano /etc/vsftpd.conf
        
        listen=YES
 anonymous_enable=NO
 local_enable=YES
 dirmessage_enable=YES
 use_localtime=YES
 xferlog_enable=YES
 connect_from_port_20=YES
 pam_service_name=ftp

 local_root=/var/www/ftp
 secure_chroot_dir=/var/www/ftp


Remove "auth  required pam_listfile.so"

  • sudo nano /etc/pam.d/vsftpd

      # Standard pam includes
 @include common-account
 @include common-session
 @include common-auth
 auth required pam_shells.so

0 comments :

Post a Comment

Comment: