FTP login failed – 530 login incorrect

Cannot login via ftp to the domain, the following error is displayed during the logging:

530 Login incorrect.

In the ‘/var/log/secure’ file you may find the following error:

Oct 1 12:55:15 web02 proftpd[20205]: 127.0.0.1 (91.204.25.4[91.204.25.4]) – USER test (Login failed): Invalid shell: ‘/bin/false’

Cause

The string ‘/bin/false’ is missed in the file ‘/etc/shells’.
Resolution

Add ‘/bin/false’ to the ‘/etc/shells’ file
Search words:
FTP
Invalid shell
530 Login incorrect
Error 530
ftp error plesk

Posted in FTP