[Gllug] vsftpd woes

will will at hellacool.co.uk
Tue Sep 16 09:33:30 UTC 2003


Hello Gllug,

I have a problem with the vsftp daemon that I have never had before. 
The ftp session tells it all really:

----------------------------------
p15114251:/etc # ftp localhost
Connected to localhost.localdomain.
220 ready, dude (vsFTPd 1.1.0: beat me, break me)
Name (localhost:will): sht
530 Permission denied.
ftp: Login failed.
ftp> exit
221 Goodbye.
----------------------------------

I have tried with alternate users and from other machines and it keeps 
kicking me out before the password prompt.  Here is the contents of my 
vsftpd.conf file:

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

xferlog_enable=YES
xferlog_file=/var/log/xferlog
xferlog_std_format=YES

ascii_upload_enable=YES
ascii_download_enable=YES
ls_recurse_enable=NO

connect_from_port_20=YES

chroot_local_user=YES

userlist_enable=YES
userlist_file=/etc/chrootUsers
userlist_deny=NO

text_userdb_names=YES

pam_service_name=vsftpd
----------------------------------

/etc/pam.d/vsftpd contains

----------------------------------
#%PAM-1.0

# Uncomment this to achieve what used to be ftpd -A.
# auth       required     pam_listfile.so item=user sense=allow 
file=/etc/ftpchroot onerr=fail

auth     required       pam_listfile.so item=user sense=deny 
file=/etc/ftpusers onerr=succeed
# Uncomment the following line for anonymous ftp.
#auth    sufficient     pam_ftp.so
auth     required       pam_unix.so
auth     required       pam_shells.so
account  required       pam_unix.so
password required       pam_unix.so
session  required       pam_unix.so
----------------------------------

Any ideas?

Many thanks
Will.


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list