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

[Solved] Can't login to FTP when creating a new account. 530 incorrect

Questions regarding the FTP Server
vsFTPd, ProFTPd
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
mrkidgrave
Posts: 7
Joined: Mon Feb 06, 2017 7:31 pm

[Solved] Can't login to FTP when creating a new account. 530 incorrect
  • Quote

Post by mrkidgrave » Wed Jan 10, 2018 12:30 am

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.
Last edited by mrkidgrave on Wed Jan 10, 2018 1:06 am, edited 1 time in total.
Top

mrkidgrave
Posts: 7
Joined: Mon Feb 06, 2017 7:31 pm

Re: Can't login to FTP when creating a new account. 530 incorrect
  • Quote

Post by mrkidgrave » Wed Jan 10, 2018 1:05 am

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
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: [Solved] Can't login to FTP when creating a new account. 530 incorrect
  • Quote

Post by mehargags » Wed Jan 17, 2018 7:03 am

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.

Code: Select all

vestausr_ftpusr:x:1009:1009::/home/vestausr/web/domain.com/public_html:/usr/sbin/nologin
be changed to

Code: Select all

vestausr_ftpusr:x:1009:1009::/home/vestausr/web/domain.com/public_html:/sbin/nologin
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

Code: Select all

echo "/usr/sbin/nologin" >> /etc/shells
Top


Post Reply
  • Print view

3 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