当前位置:网站首页>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/passwd

                If 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 )

530 Login incorrect. Login failed._SHUIPING_YANG The blog of -CSDN Blog _530login incorrectftp 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.bak modify :vim /etc/pam.d/vsftpd Comment out the following line :#auth required pam_shells.so Then log in again , That's all right. .https://blog.csdn.net/zhezhebie/article/details/78775323

        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.bak

                 modify :

vim /etc/pam.d/vsftpd

                 Comment out the following line :

#auth   required        pam_shells.so

         Then 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

原网站

版权声明
本文为[ZHY_ ERIC]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/184/202207031057410451.html