We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
ftp vsftp login incorrect 530 can't login
ftp vsftp login incorrect 530 can't login
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.
So I checked the vsftp logs in /var/log/vsftpd.log
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.
Looked like this:
and I easily added this line
saved the file and everything worked fine again afterwards.
Cheers and have a nice Sunday!
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.
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"
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
Code: Select all
# /etc/shells: valid login shells
/bin/sh
/bin/dash
/bin/bash
/bin/rbash
/sbin/nologin
/usr/bin/rssh
/usr/bin/tmux
Code: Select all
/usr/sbin/nologin
Cheers and have a nice Sunday!
-
- Posts: 5
- Joined: Wed Oct 01, 2014 8:47 pm
Re: ftp vsftp login incorrect 530 can't login
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).
Indeed, after the Vesta update, this line was not added (this is added automatically when you install it now).
Re: ftp vsftp login incorrect 530 can't login
Kudos!
This topic helped me as well! :)
This topic helped me as well! :)
Re: ftp vsftp login incorrect 530 can't login
Not working here ... I already added line in shells and checked /etc/shadow
the user is being created, but additional ftp doesnt works
the user is being created, but additional ftp doesnt works
Re: ftp vsftp login incorrect 530 can't login
Thanks a lot! I've been having this problem for a while now and thanks to your solution it's now fixed.
Re: ftp vsftp login incorrect 530 can't login
Solution works. Neat!