Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
22
rated 0 times [  22] [ 0]  / answers: 1 / hits: 40416  / 3 Years ago, thu, october 7, 2021, 1:36:43

So I upgraded my Ubuntu Server to 12.04 LTS today and now VSFTPD wont work. I think it is related to this VSFTPd stopped working after update



However, unlike the asker in that post, I am not getting any error messages. When I log on, I get



220 (vsFTPd 2.3.5)
331 Please specify the password.
Password:
530 Login incorrect.
ftp: Login failed


I know the password is correct,and I have tried multiple users. vsftpd.log shows nothing other than:



Tue May  1 15:19:48 2012 [pid 2] CONNECT: Client "192.168.1.133"
Tue May 1 15:19:53 2012 [pid 1] [USERNAME] FAIL LOGIN: Client "192.168.1.133"


Syslog shows nothing. Here is my VSFTPD.conf (mostly default):



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


I tried the command mentioned in the previous question to no avail.



sudo chmod a-w /home/user


Thanks, I appreciate all your help!


More From » 12.04

 Answers
7

In vsftpd.conf



Make the following change :
pam_service_name=ftp



Save your change and restart the ftp server.


[#38859] Friday, October 8, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
fulpu

Total Points: 116
Total Questions: 118
Total Answers: 104

Location: Solomon Islands
Member since Fri, Oct 8, 2021
3 Years ago
fulpu questions
Fri, Apr 1, 22, 08:36, 2 Years ago
Wed, Mar 16, 22, 15:25, 2 Years ago
Wed, Aug 24, 22, 22:59, 2 Years ago
Tue, Dec 20, 22, 22:33, 1 Year ago
;