Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Vsftpd local user login password error what to do

2025-05-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "what to do with the wrong login password for vsftpd local users". In the daily operation, I believe that many people have doubts about how to do wrong login passwords for local vsftpd users. The editor has consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts about "how to do wrong login passwords for vsftpd local users". Next, please follow the editor to study!

Today, I found that the vsftp of my virtual machine could not be logged in using the local user name, so I reconfigured it, but the configuration failed many times and kept showing

530 Login incorrect.

Login failed

The solution is to add the following in vsftp.conf:

Pam_service_name=vsftp

Modify to

Pam_service_name=ftp

Local users log in normally after restarting vsftpd.

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

The final configuration file is:

The 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

Anonymous login is turned off, local user login is enabled, and virtual users are not configured.

At this point, the study on "what to do with the wrong login password for vsftpd local users" is over. I hope to be able to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report