当前位置:网站首页>During FTP login, the error "530 login incorrect.login failed" is reported
During FTP login, the error "530 login incorrect.login failed" is reported
2022-07-03 11:53:00 【ZHY_ ERIC】
One 、 problem
Because of the needs of the project : You need to build a ftp. After setting the folder , After creating a new user and giving corresponding permissions . I log in ftp The following error message appears on the website .

My operating environment :centos8.2 64bit
Two 、 Solutions
There are four ways to collect online information . Please choose different solutions according to your problems
(1) The host to log in does not create an account and its corresponding permissions .( The link of the original blogger is attached below )
CentOS7 View all user and group information _ Guminan's blog -CSDN Blog _centos List all users
cat /etc/passwdIf you find that you don't have the account you created , Just create another .
(2) After entering the correct password , Still wrong . You can change the user's password ;
command : passwd username
Try signing in again . If the error is still reported , Look again (3)
(3) Comment out pam_shells.so( The link of the original blogger is attached below )
ftp Allow local users to log in , As a result, this error is always reported when logging in , I found a lot of information on the Internet , Finally, it was solved :
Backup :
cp /etc/pam.d/vsftpd /etc/pam.d/vsftpd.bakmodify :
vim /etc/pam.d/vsftpdComment out the following line :
#auth required pam_shells.soThen log in again , That's all right. .
(4) see cat /etc/shells Whether there are your users
ftp Landing error reporting 530 Login incorrect. Login failed._hahahaxiaoyu The blog of -CSDN Blog _530login incorrect530 Login incorrect.Login failed.1. Brother, if this post , Solved your problem , Please say thank you to me , because , It took me two days to find a solution , I'm really tired .2.ftp Login times error ,530 Login incorrect.Login failed.3. Please see if the first three problems of Baidu can be solved , I think this is the fourth , Because I didn't find one on Baidu .4.cat /etc/passwd, Check the main directory of your login account ...https://blog.csdn.net/hahahaxiaoyu/article/details/100582853?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-100582853-blog-83216884.pc_relevant_antiscanv3&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-100582853-blog-83216884.pc_relevant_antiscanv3&utm_relevant_index=2 Check the main directory of your login account and login shell What is the corresponding , My is /sbin/nologin user name : password : User ID : Group identification number : Annotative description : Home directory : Sign in Shell
cat /etc/passwd,
see cat /etc/shells Is there your user's home directory and login shell, Not added , preservation , sign out .
cat /etc/shells边栏推荐
猜你喜欢
随机推荐
Use typora to draw flow chart, sequence diagram, sequence diagram, Gantt chart, etc. for detailed explanation
Groovy测试类 和 Junit测试
PHP Basics
Viewing binary bin files with notepad++ editor
Uniapp implementation Click to load more
Cacti monitors redis implementation process
MCDF实验1
Go语言实现静态服务器
STL tutorial 10 container commonalities and usage scenarios
The R language uses the hist function in the native package (basic import package, graphics) to visualize the histogram plot
vulnhub之Ripper
The uniapp scroll view solves the problems of high adaptability and bullet frame rolling penetration.
OpenGL 绘制彩色的三角形
Cadence background color setting
并发编程-单例
Numpy np. Max and np Maximum implements the relu function
Qt+VTK+OCCT读取IGES/STEP模型
抓包整理外篇fiddler———— 会话栏与过滤器[二]
R语言使用aggregate函数计算dataframe数据分组聚合的均值(sum)、不设置na.rm计算的结果、如果分组中包含缺失值NA则计算结果也为NA
STL Tutorial 9 deep copy and shallow copy of container elements









