Linux VSFTPD 530 Login incorrect Solution

Source: Internet
Author: User
Tags ftp

VSFTPD 530 Login Incorrect This problem is very common, a lot of online search, but most of them are a bluff. Here's my solution,
Server Description: The server is CentOS 6.5 64 bits, VSFTPD is used Vsftpd:version 2.2.2, the system user is Nologin

1, check the/etc/vsftpd/vsftpd.conf configuration

The code is as follows Copy Code


Local_enable=yes
PAM_SERVICE_NAME=VSFTPD//Someone said Ubuntu is pam_service_name=ftp (I did not test)
Userlist_enable=yes

2, modify/etc/vsftpd/ftpusers

The code is as follows Copy Code
# VIM/ETC/PAM.D/VSFTPD//You will find that the user who rejects the ftpusers inside
Auth Required pam_listfile.so Item=user sense=deny file=/etc/vsftpd/ftpusers

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

The code is as follows Copy Code

[Root@node1 vsftpd]# Cat/etc/vsftpd/ftpusers
# Users that are not allowed to login via FTP
Root
Bin
#daemon//deleted can be logged in
Adm
Lp
Sync

。。。。。。。。。 Omitted.........
Here to pay attention, do not change the/etc/pam.d/vsftpd inside of the deny to allow, otherwise you build the user will be reported 530 Login incorrect

3, restart VSFTPD

  code is as follows copy code
#/etc/init.d/ VSFTPD start 

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.