"additional FTP" not working - fix
"additional FTP" not working - fix
Don't know if this helps anyone else, but I've been banging my head against the wall with this issue.
I don't think I've done anything unusual with my vesta set up - standard install as possible on a DO VPS.
Created a user with the "additional ftp" option in the gui, and was getting errors trying to log in. Username and password were perfect, believe me I checked!
Eventually, I found that adding /sbin/nologin to /etc/shells made the difference. /usr/sbin/nologin was already there.
I was tipped off that this was the issue because when I tried logging in with SFTP out of desperation auth.log mentioned that wasn't a valid shell. I don't know if this counts a bug, or if I did something wrong after all, or if it just helps someone but I thought I'd put it somewhere online in case it does.
I don't think I've done anything unusual with my vesta set up - standard install as possible on a DO VPS.
Created a user with the "additional ftp" option in the gui, and was getting
Code: Select all
530 Login incorrect
Eventually, I found that adding /sbin/nologin to /etc/shells made the difference. /usr/sbin/nologin was already there.
I was tipped off that this was the issue because when I tried logging in with SFTP out of desperation auth.log mentioned that wasn't a valid shell. I don't know if this counts a bug, or if I did something wrong after all, or if it just helps someone but I thought I'd put it somewhere online in case it does.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: "additional FTP" not working - fix
What does your log say ?
Code: Select all
tail -f /var/log/vsftpd.log
Re: "additional FTP" not working - fix
I don't know why but this worked for me too
adding to etc/shell
/sbin/nologin
Centos 7/64
Otherwise I was continually confronted with the wrong password, even though I'd checked it umpteen times.
adding to etc/shell
/sbin/nologin
Centos 7/64
Otherwise I was continually confronted with the wrong password, even though I'd checked it umpteen times.
Re: "additional FTP" not working - fix
Yes, I confirm. CentOS 7.5 and the /sbin/nologin to /etc/shells worked for me.
-
- Support team
- Posts: 1047
- Joined: Fri Mar 21, 2014 7:49 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: "additional FTP" not working - fix
the contents of the /etc/shells file should be as follows
Code: Select all
/bin/sh
/bin/bash
/sbin/nologin
/usr/bin/sh
/usr/bin/bash
/usr/sbin/nologin
Re: "additional FTP" not working - fix
I can't connect even after adding the new routes.mehargags wrote: ↑Fri Nov 03, 2017 6:42 pmWhat does your log say ?Code: Select all
tail -f /var/log/vsftpd.log
Mine says:
Code: Select all
Wed Jan 9 16:06:51 2019 [pid 2134] [admin_user] OK LOGIN: Client "XXX.XXX.XXX.XXX"