Plesk for Linux
Applicable to:
- Plesk for Linux
Symptoms
-
When connecting to the server via FTP using an additional FTP account, connection fails with:
CONFIG_TEXT: Response: 530 Login incorrect.
Error: Critical error: Could not connect to server -
The following error message is logged in
/var/log/plesk/xferlog,/var/log/secureor/var/log/auth.log:CONFIG_TEXT: proftpd[851]: 0.0.0.0 (203.0.113.2[203.0.113.2]) - USER john_doe (Login failed): Invalid shell: '/bin/false'
Cause
/bin/false is not listed in the /etc/shells file.
Resolution
- Connect to your Plesk server via SSH.
-
Create a backup file of the FTP configuration file:
# cp -a /etc/proftpd.conf{.bak}
- Open the file
/etc/proftpd.confin a text editor. -
Add the following directory at the end of the file:
CONFIG_TEXT: RequireValidShell no
- Save the changes and close the file.
Comments
Please sign in to leave a comment.