| StewartW 2005-02-08, 2:48 am |
| I have installed vsftpd v2.0.1
I can get anonymous download to work but I seem unable to allow local users
to login.Error message is 530 Login Incorrect.
vsftpd.conf:
listen=YES
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
nopriv_user=nobody
User nobody exists with home /usr/sbin/nologin
User ftp exists with home /var/ftp and is a member of group ftp
drwxr-xr-x 2 root root 1024 2005-02-07 20:20 ftp
(user ftp does not own /var/ftp)
The local user "north" has a home of /home/ftp and is a member of the group
ftp-users.
drwxrwxrwx 3 root ftp-users 1024 2005-02-07 21:21 ftp
There is an empty directory /usr/share/empty
drwxrwxrwx 2 root root 1024 2005-02-05 16:59 empty
This setup allows anonymous download but the local user "north" cannot
login.
The local user "north" can login on linux ok.
/etc/hosts.allow contains:
vsftp: ALL (and I have also tried ALL :ALL)
/etc/hosts.deny is empty.
I have also tried it via inetd using listen=NO and changing hosts.allow to
ALL : ALL but that closes the connnection without asking for username, so I
went back to listen=YES.
I have restarted inetd and vsftpd each time a config change has been made.
So the big question is - what should I do to allow local user "north" to
login and download??? What should I then do to allow upload too?
Thanks
Stewart
|