VSFTP Login Woes

Hi all. I am setting up VSFTP on my 'node, and I have the server up and running and responding to connections, but I am having an issue with logins. I have the .conf file set to allow no anonymous, but to allow local accounts to auth. I can ssh into my 'node, and the root login for instance works fine, but when I try to ftp in with any account, vsftp dumps me with a 530 login error when I am FOR SURE using the correct local login…

Here is my vsftpd.conf:

#
#VSFTPD Configuration (modified 09/30/05)
#

#
# User Level (anonymous vs. local):
anonymous_enable=NO
local_enable=YES

#
# FTP Access Rights:
local_umask=022
write_enable=YES

#
# Logging:
xferlog_enable=YES
xferlog_std_format=NO
vsftpd_log_file=/proj/logs/vsftpd.log

#
# Connection Rules:
connect_from_port_20=YES
idle_session_timeout=600
data_connection_timeout=600

#
# FTP Settings:
ls_recurse_enable=YES
force_dot_files=YES

#
# Messages:
ftpd_banner=VSFTP - Linode Server.
dirmessage_enable=YES

The error I get upon entering my username then password is:

530 Login incorrect.
Login failed.

Anything look outrageously incorrect in there, or am I missing something?

2 Replies

These are the only changes I made on Debian Sarge

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022

# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().

chroot_list_enable=YES

I'd have a look through your config file for the last one, and make sure you're not running vsftpd chrooted.

Found the error, was a problem with my PAM settings in /etc/pam.d/vsftpd. Thanks for the help.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct