Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

This question already has an answer here:

I followed this link to install ftp server.

And also added ftp user(ftpuser) and also added ftp password(1234567).

But when I am using this password in any wordpress site or any ftp software such as FileZilla it is showing 530 Login incorrectenter image description here

vsftpd file

listen=YES
anonymous_enable=NO
write_enable=YES
local_enable=YES
dirmessage_enable=YES
use_localtime=YES
connect_from_port_20=YES
ftpd_banner=Welcome to blah FTP service.
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
share|improve this question

marked as duplicate by Hauke Laging, slm, Karlson, Braiam, Timo Mar 24 at 16:05

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
you should use adduser instead of useradd see this question –  Kiwy Mar 24 at 12:42
    
I tried that but no success –  Shoaib Chikate Mar 24 at 12:50
    
add your vftpd config file, whitout this it will be hard. –  Kiwy Mar 24 at 12:57
    
But that doesn't solve my problem. And that answer is posted by me only. –  Shoaib Chikate Mar 24 at 13:38
1  
@ShoaibChikate - you posted an identical A to this Q and the one that Kiwy mentioned and this solution doesn't solve the problem here or there? Then why did you post either of them? –  slm Mar 24 at 15:22

1 Answer 1

Back up the config file before making a change;

sudo cp /etc/vsftpd.conf /etc/vsftpd.conf.back

and then edit vsftpd.conf (with vi or nano)

nano /etc/vsftpd.conf

Then make the following change

pam_service_name=ftp

Save your change and restart the ftp server (if you use nano hit CTRL+O & enter to save then CTRL+X to exit)

sudo service vsftpd restart
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.