Solution to vsftpd logon password error

Source: Internet
Author: User
This article describes how to solve the vsftpd local user logon password error. For more information, see VSFTP.

Today, I found that my virtual machine's vsftp could not be logged on using the local user name, so I re-configured it, but it failed to be configured many times.

530 Login incorrect.

Login failed

The solution is:

Pam_service_name = vsftp

Modify

Pam_service_name = ftp

After vsftpd is restarted, the local user can log on normally.

However, it is strange that there is a file named vsftp in the/etc/pam. d/directory, but there is no file named ftp. Instead, the configuration file must be set to ftp to be valid.

The final configuration file is:


Copy codeThe code is as follows:
Listen = YES
Anonymous_enable = NO
Local_enable = YES
Check_shell = NO
Write_enable = YES
Local_umask = 022
Dirmessage_enable = YES
Use_localtime = YES
Xferlog_enable = YES
Connect_from_port_20 = YES
# Chroot_list_enable = YES
Pam_service_name = ftp

Disable anonymous logon and enable local user logon. no virtual user is configured.

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.