I haven't been able to figure out how to get VSFTPD to work. I think I've narrowed it down to a Pam problem. But, I cannot confirm that. I don't know how.
I basically have a simple setup with Virtual Users. Below is my vsftpd.conf file -
listen=YES
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
anon_upload_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
chroot_local_user=YES
chroot_list_enable=NO
secure_chroot_dir=/var/run/vsftpd
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
ssl_enable=YES
allow_anon_ssl=NO
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=YES
ssl_sslv3=YES
guest_enable=YES
guest_username=vftpuser
user_config_dir=/etc/vsftpd/vusers
force_dot_files=YES
#hide_ids=YES
max_per_ip=2
max_clients=20
I even went and found the libdb3 files and installed those thinking it could be a version error. I thought this because the author from of VSFTPD said he used version 3 and most HOWTO's are written with version 3 as the program type.
I created the login file as specified by ftp://vsftpd.beasts.org/users/cevans...L_USERS/README.
My vsftpd.pam is as follows -
auth required /lib/security/pam_userdb.so db=/etc/vsftpd_login
account required /bin/security/pam_userdb.so db=/etc/vsftpd_login
When I log in using FileZilla from outside my network I get a login incorrect error. I haven't tried to add passive mode to the vsftpd.conf file and switch that on within my firewall. I'll do that now.
Has anyone else had this problem?
Bookmarks