You are not logged in.
Hi,
I tried to make a ftp server at home using this guide (http://wiki.archlinux.org/index.php/Ver … FTP_Daemon) , but when I tried to login, I got "530 Login incorrect." whenever I tried to login.
Here is my vsftp.conf I followed the "PAM with "virtual users" config. I already double check the username in it so I don't think I had typo in it. I coudn't login with either my username or virtual username ( anonymous was fine though, when I changed option to enable that)
anonymous_enable=NO
local_enable=YES
write_enable=YES
tcp_wrappers=YES
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
listen=NO
chroot_local_user=YES
guest_enable=YES
guest_username=virtual
virtual_use_local_privs=YES
Anybody know where is the problem ? thanks in advance...
Last edited by Tg (2009-07-25 13:22:12)
Offline
bump... still had the problem
Offline
I just followed the instructions and setup vsftpd (without xinetd) and the virtual users are able to login no problem. Our configs are the same (except for LISTEN=yes and no tcp_wrappers in mine), so I would check permissions on the virtual user home directory. Mine are 755, user virtual, group virtual.
Also check /var/log/vsftpd.log for any errors.
Offline
FYI: with guest_enable=YES, you can't login as anyone /but/ guest_username.
i'd change listen to YES and also, if using tcp wrappers you'll need 'vsftpd: ALL' in /etc/hosts.allow (or a specific ip/range). a while back, i followed our wiki to set this up and it worked fine, so i would reread that a little more closely just to be sure you didnt mess up a step.
//github/
Offline
^
I followed wiki and read everything but it didn't work. Just yesterday, I added "pam_service_name=vsftpd" to vsftpd.conf and everything work fine. Now I can login with normal user, but I still can't login as virtual user.
Also, I run vsftpd through xinetd so I use listen=NO
neddie_seagoon: Thanks, I'll try that later.
Last edited by Tg (2009-09-01 06:53:06)
Offline
I want to use vsftpd without xinetd to use virtual users, but:
500 OOPS: could not bind listening IPv4 socket
Can I change it in some way?
Offline
Ok. I have the same. I deleted xinetd and configured as:
anonymous_enable=NO
local_enable=YES
write_enable=YES
tcp_wrappers=NO
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
listen=YES
chroot_local_user=YES
guest_enable=YES
guest_username=virtual
virtual_use_local_privs=YES
And anyway:
530 Login incorrect
I used to change guest_username to real user from login.txt, but it didn't help.
I have no idea. May somebody explain me what's wrong?
Offline