Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section FTP Server
  • Search

"additional FTP" not working - fix

Questions regarding the FTP Server
vsFTPd, ProFTPd
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
erythro
Posts: 1
Joined: Thu Nov 02, 2017 11:28 pm

"additional FTP" not working - fix
  • Quote

Post by erythro » Thu Nov 02, 2017 11:42 pm

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

Code: Select all

530 Login incorrect
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.
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: "additional FTP" not working - fix
  • Quote

Post by mehargags » Fri Nov 03, 2017 6:42 pm

What does your log say ?

Code: Select all

tail -f  /var/log/vsftpd.log
Top

peterb
Posts: 20
Joined: Fri May 15, 2015 11:26 am

Re: "additional FTP" not working - fix
  • Quote

Post by peterb » Sun Dec 09, 2018 12:52 pm

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

ruturaaj
Posts: 3
Joined: Wed Dec 12, 2018 6:05 pm

Os: CentOS 6x
Web: apache + nginx
Re: "additional FTP" not working - fix
  • Quote

Post by ruturaaj » Wed Dec 12, 2018 6:09 pm

Yes, I confirm. CentOS 7.5 and the /sbin/nologin to /etc/shells worked for me.
Top

Alex Connor
Support team
Posts: 1047
Joined: Fri Mar 21, 2014 7:49 am
Contact:
Contact Alex Connor
Website Twitter

Os: CentOS 6x
Web: apache + nginx
Re: "additional FTP" not working - fix
  • Quote

Post by Alex Connor » Thu Jan 03, 2019 8:57 am

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
Top

realjumy
Posts: 50
Joined: Sun Jul 06, 2014 12:51 pm

Re: "additional FTP" not working - fix
  • Quote

Post by realjumy » Wed Jan 09, 2019 4:08 pm

mehargags wrote: ↑
Fri Nov 03, 2017 6:42 pm
What does your log say ?

Code: Select all

tail -f  /var/log/vsftpd.log
I can't connect even after adding the new routes.

Mine says:

Code: Select all

Wed Jan  9 16:06:51 2019 [pid 2134] [admin_user] OK LOGIN: Client "XXX.XXX.XXX.XXX"
Top


Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “FTP Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password