VSFTPD 530 Login Incorrect address

Source: Internet
Author: User

VSFTPD 530 Login Incorrect The solution to this problem:

VSFTPD is Vsftpd:version 3.0.2, the user of the system is Nologin

1. Check the/etc/vsftpd/vsftpd.conf configuration
local_enable=YES  pam_service_name=vsftpd     //**ubuntu是pam_service_name=ftp**userlist_enable=YES  
2, modify/etc/vsftpd/ftpusers
vim /etc/pam.d/vsftpd   //你会发现,拒绝ftpusers里面的用户  auth       required     pam_listfile.so item=user sense=deny file=/etc/vsftpd/ftpusers onerr=succeed  

Ftpusers inside is the FTP default user, if you want to system users, the user is removed from the Ftpusers file.

[[email protected] vsftpd]# cat /etc/vsftpd/ftpusers  Users that are not allowed to login via ftp  root  bin   #daemon   //删除掉就能登录了  adm  lp  sync  

。。。。。。。。。 Omitted.........
Note here, do not change the/etc/pam.d/vsftpd inside the deny to allow, or you build your own users will be reported 530 Login incorrect

3, restart VSFTPD
/etc/init.d/vsftpd start  

VSFTPD 530 Login Incorrect address

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.