VSFTPD - 530 Permission Denied



Hello,

I'm having a terrible time getting vsftpd to allow me to login as a local user. I'm hoping someone can help me out.

Error:
======
# ftp 1.2.3.4
Connected to 1.2.3.4
220 (vsFTPd 2.0.1)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name (1.2.3.4:root): bstest
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.

Here is the info:

Sysinfo:
========
- Red Hat Enterprise Linux ES release 4 (Nahant Update 3)
- Linux x 2.6.9-34.0.1.ELsmp #1 SMP Wed May 17 16:59:36 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
- vsftpd: version 2.0.1

/var/log/messages
=================
Jun 20 15:49:00 x vsftpd(pam_unix)[28131]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=1.2.3.4 user=bstest

vsftpd.conf
===========
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
data_connection_timeout=120

pam_service_name=vsftpd
userlist_enable=YES
listen=YES
tcp_wrappers=YES

/etc/pam.d/vsftpd
============
#%PAM-1.0
auth required pam_listfile.so item=user sense=deny file=/etc/vsftpd.ftpusers onerr=succeed
auth required pam_stack.so service=system-auth
auth required pam_shells.so
account required pam_stack.so service=system-auth
session required pam_stack.so service=system-auth
session required pam_loginuid.so

Any suggestions would be greatly appreciated.

Chris
.



Relevant Pages

  • Re: server hacked?
    ... I recently setup a RH8 machine ... > and put vsftpd 1.2 on it. ... > login is not allowed on this machine. ... down the FTP server via the VSFTP instructions, ...
    (comp.os.linux.security)
  • Re: vsftpd setup question
    ... I try to config vsftpd according to my requirements ... May be it is best to simplify a little bit: ... when login via ftp or ssh. ... 530 Please login with USER and PASS. ...
    (comp.os.linux.setup)
  • Re: vsftpd quesiton
    ... > users, who have login accounts on this machine, will be able to FTP ... Looking at the services config the vsftpd says: ... send an illegal ICMP 11 login message to ...
    (linux.redhat)
  • Re: vsftpd
    ... Big Bill wrote: login to his brother!? ... think netfilter cares about login IDs? ... Yeah, income is nice, but I don't understand what it's got to do with vsftpd. ... the security of ssh/scp and vsftpd is a whole other topic. ...
    (comp.os.linux.networking)
  • Re: Strange vsftpd configuration
    ... If I login or ssh as the user that I'm trying to ftp with, ... > I also can't login to vsftpd from NIS accounts. ... I could not login as a local user. ...
    (linux.redhat)