Report this

What is the reason for this report?

vsftpd login incorrect

Posted on July 6, 2013

I just installed vsftpd on my vps, I setup a root folder and added a user. But whenever I connect I get login password incorrect.

I changed the password many times but that did not help

sudo passwd myusername

I also checked if my username is present in /etc/passwd and it’s there.

I restarted both vsftpd and the machine. Nothing works.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Great it works for me pam_service_name=ftp

Try this : <br> <br>In vsftpd.conf <br> <br>Make the following change : pam_service_name=ftp

@stefan: You have to move your site to /home/reddit/files if you want to chroot the user. <br> <br>mkdir /home/reddit/files <br>mv /home/reddit/* /home/reddit/files && mv /home/reddit/.* /home/reddit/files <br>chown root:root /home/reddit && chmod 755 /home/reddit <br> <br>Run these commands and you should be able to log in via ftp.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.