linux ftp530 means linux ftp login error 530. The solution is: 1. Check whether "cat /etc/shells" has your user's home directory and login shell. If not, add it; 2 , check the "/var/log/secure" file, and reset the password expiration time.
#The operating environment of this tutorial: linux5.9.8 system, Dell G3 computer.
linux ftp 530 What does it mean?
Linux(CentOS) ftp login error 530 Solution
I have encountered the problem of FTP login error several times, which can be said to be racking my brains.
530 Login incorrect. Login failed.
The first time I encountered it was cat /etc/shells. There is no user's home directory and login shell. This may be the reason why the domestic operating system has not added it
cat /etc/passwd, check the home directory of the account you logged in and the login shell. Mine is /sbin/nologin
Username: Password: User identification number :Group identification number: Annotative description: Home directory: Login Shell
Check cat /etc/shells to see if there is your user's home directory and login shell. There is no addition, saving, or exiting.
The second time is that the password has expired and I checked the /var/log/secure file
This file is used to record security-related information, with the most records The logs are related to which users log in to the server. For example, after logging in to ftp
, it is found that
password aged indicates that the password has expired
Re- Set the password expiration time chage -M 99999 XX (user name)
Log in successfully again.
Related recommendations: "Linux Video Tutorial"
The above is the detailed content of What does linux ftp 530 mean?. For more information, please follow other related articles on the PHP Chinese website!