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
Reminder: On the servers affected by ChachaDDoS passwords for admin and root need to be changed necessarily

ftp vsftp login incorrect 530 can't login

Questions regarding the FTP Server
vsFTPd, ProFTPd
Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
kallovsky
Posts: 11
Joined: Thu Mar 05, 2015 12:00 pm

ftp vsftp login incorrect 530 can't login
  • Quote

Post by kallovsky » Sun Mar 25, 2018 10:34 am

Hey there,

I just wanted to share a problem I had with my ftpdaemon with you and which I didn't find in this forum.

My ftp server always throw an error, trying to log in with new created ftp accounts. I'm not sure since when this error occurred, a user of mine pointed me on that issue. But I would say the Vestacp version is not essential in that case.

My ftp client acted as if I just entered wrong user data.

Code: Select all

Befehl:      	USER ******
Antwort:    	331 Please specify the password.
Befehl:      	PASS *******
Antwort:    	530 Login incorrect.
So I checked the vsftp logs in /var/log/vsftpd.log

Code: Select all

Sun Mar 25 12:04:01 2018 [pid 2] CONNECT: Client "87.123.193.139"
Sun Mar 25 12:04:04 2018 [pid 1] [*********] FAIL LOGIN: Client "87.123.193.139"
Actually looked like wrong user data. But I entered them correctly.
I checked /etc/passwd and in the meantime I also googled a bit. So I found this article, which described exactly my problem.
https://github.com/serghey-rodin/vesta/issues/1437

New users got a different path to the "nologin" shell than before.
Initially it was /sbin/nologin. New users got the path to /usr/sbin/nologin
That path was not registered in /etc/shells.

Code: Select all

nano /etc/shells
Looked like this:

Code: Select all

# /etc/shells: valid login shells
/bin/sh
/bin/dash
/bin/bash
/bin/rbash
/sbin/nologin
/usr/bin/rssh
/usr/bin/tmux
and I easily added this line

Code: Select all

/usr/sbin/nologin
saved the file and everything worked fine again afterwards.

Cheers and have a nice Sunday!
Top

donatello2005
Posts: 5
Joined: Wed Oct 01, 2014 8:47 pm

Re: ftp vsftp login incorrect 530 can't login
  • Quote

Post by donatello2005 » Fri Apr 13, 2018 3:19 pm

Thank you very much for the solution!
Indeed, after the Vesta update, this line was not added (this is added automatically when you install it now).
Top

Felix
Posts: 132
Joined: Tue Aug 04, 2015 7:15 pm

Os: Ubuntu 16x
Web: apache + nginx
Re: ftp vsftp login incorrect 530 can't login
  • Quote

Post by Felix » Wed Apr 18, 2018 12:23 pm

Kudos!
This topic helped me as well! :)
Top

mestresan
Posts: 32
Joined: Wed May 13, 2015 12:05 am

Re: ftp vsftp login incorrect 530 can't login
  • Quote

Post by mestresan » Wed Jan 16, 2019 12:52 pm

Not working here ... I already added line in shells and checked /etc/shadow
the user is being created, but additional ftp doesnt works
Top

skamasle
Collaborator
Posts: 478
Joined: Mon Feb 29, 2016 6:36 pm

Re: ftp vsftp login incorrect 530 can't login
  • Quote

Post by skamasle » Thu Jan 17, 2019 10:47 am

mestresan wrote: ↑
Wed Jan 16, 2019 12:52 pm
Not working here ... I already added line in shells and checked /etc/shadow
the user is being created, but additional ftp doesnt works
And you restart FTP or server ?

I think reboot is needed to take new values, almost restart some services.
Patch your ubuntu 16 or mysq5.7 -> viewtopic.php?f=20&t=13239
Transfer accounts from cPanel -> viewtopic.php?f=19&t=11075
Top

VENAXIS
Posts: 9
Joined: Sat Oct 10, 2015 11:10 am

Re: ftp vsftp login incorrect 530 can't login
  • Quote

Post by VENAXIS » Sun Jan 27, 2019 5:10 pm

Thanks a lot! I've been having this problem for a while now and thanks to your solution it's now fixed.
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