Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
128
rated 0 times [  128] [ 0]  / answers: 1 / hits: 256276  / 1 Year ago, wed, march 1, 2023, 5:48:39

I can't get vsfptd working on Ubuntu 12.04.



my vsftpd.conf file looks like this, and I try to connect with a local user:



listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/private/vsftpd.pem


Error message in FileZilla:



Response:   331 Please specify the password.
Command: PASS ****
Response: 530 Login incorrect.

More From » server

 Answers
2

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


Source: VSFTPD configuration problems with 12.04


[#27185] Friday, March 3, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kneducator

Total Points: 226
Total Questions: 111
Total Answers: 108

Location: Mexico
Member since Sun, Jul 25, 2021
3 Years ago
kneducator questions
Tue, Dec 6, 22, 09:22, 1 Year ago
Sun, Apr 30, 23, 23:26, 1 Year ago
Tue, Jun 8, 21, 01:25, 3 Years ago
Sun, Mar 12, 23, 10:51, 1 Year ago
;