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.
[Solved] Can't login to FTP when creating a new account. 530 incorrect
-
- Posts: 7
- Joined: Mon Feb 06, 2017 7:31 pm
[Solved] Can't login to FTP when creating a new account. 530 incorrect
Whenever I create a new domain name and new ftp login information, I am unable to log into ftp.
I am using Filezilla to connect on my server. My server is running on vsftpd. I have already created multiple ftp accounts, double checked and even tripled checked the login info, and I keep getting a 530 login error. However, when I try to connect to ftp with accounts that were already created long ago, I am able to log into ftp without any problems. Please help! I am only having login issues with newly created accounts.
I am using Filezilla to connect on my server. My server is running on vsftpd. I have already created multiple ftp accounts, double checked and even tripled checked the login info, and I keep getting a 530 login error. However, when I try to connect to ftp with accounts that were already created long ago, I am able to log into ftp without any problems. Please help! I am only having login issues with newly created accounts.
Last edited by mrkidgrave on Wed Jan 10, 2018 1:06 am, edited 1 time in total.
-
- Posts: 7
- Joined: Mon Feb 06, 2017 7:31 pm
Re: Can't login to FTP when creating a new account. 530 incorrect
I solved this problem doing the following steps. I just don't know why it was necessary to have to edit a configuration file. By the way, I am using Debian Jessie. I no longer get the 530 error logins when I make new FTP accounts!
First, make a backup of your config file.
cp /etc/vsftpd.conf /etc/vsftpd.conf.back
Then edit vsftpd.conf file
nano /etc/vsftpd.conf
Then make the following change
pam_service_name=ftp
Lastly, save your changes and restart the ftp server.
service vsftpd restart
First, make a backup of your config file.
cp /etc/vsftpd.conf /etc/vsftpd.conf.back
Then edit vsftpd.conf file
nano /etc/vsftpd.conf
Then make the following change
pam_service_name=ftp
Lastly, save your changes and restart the ftp server.
service vsftpd restart
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: [Solved] Can't login to FTP when creating a new account. 530 incorrect
You did not mention your OS and Version but I had a similar problem on all my Debian 8 servers after upgrading to v18
How I fixed:
I checked /etc/passwd and I saw that there is an additional /usr in front of /sbin/nologin which was causing it. Removing the /usr fixes the ftp login.
be changed to
I reported this issue on GIT and Dpecca suggested the following fix in his comment on Git Issue https://github.com/serghey-rodin/vesta/ ... -356737988
How I fixed:
I checked /etc/passwd and I saw that there is an additional /usr in front of /sbin/nologin which was causing it. Removing the /usr fixes the ftp login.
Code: Select all
vestausr_ftpusr:x:1009:1009::/home/vestausr/web/domain.com/public_html:/usr/sbin/nologin
Code: Select all
vestausr_ftpusr:x:1009:1009::/home/vestausr/web/domain.com/public_html:/sbin/nologin
Code: Select all
echo "/usr/sbin/nologin" >> /etc/shells