vsftpd problem
I have 2 problems with my VSFTPD system.
I have 2 users. ie USER1 & USER2. Both have home directories with correct access rights set. (Read Write Execute for USER)
Homedirectories are named /home/user1 & /home/user2
All users are local, and are chrooted to their home dirs. Except that user1 is in the exception list of vsftpd and therefore not chrooted.
Both users are listed in the vsftpd.userlist
Now the problems:
USER1 has NO problems logging in and listing directories, BUT the user cannot upload files/make directory changes.
USER2 cannot login ! Every time i get the error the user is chrooted. (When I put user2 also in the chroot exception list, the user is able to log in.)
What is wrong ?
Here is my vsftpd.conf file:
--------------------------------------------------------
anon_world_readable_only=NO
anonymous_enable=NO
ftp_username=ftp
chmod_enable=YES
chown_uploads=YES
chown_username=root
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/vsftpd.chroot_list
passwd_chroot_enable=YES
write_enable=YES
connect_from_port_20=YES
ftp_data_port=XX
listen_port=XX
pasv_min_port=XXXXX
pasv_max_port=XXXXX
dirmessage_enable=YES
listen=YES
tcp_wrappers=YES
background=YES
local_enable=YES
userlist_enable=YES
userlist_deny=NO
userlist_file=/etc/vsftpd/vsftpd.userlist
xferlog_enable=YES
local_umask=660
max_clients=6
max_per_ip=2
deny_email_enable=NO
banned_email_file=/etc/vsftpd/vsftpd.banned_emails
banner_file=/etc/vsftpd/vsftpd.banner
nopriv_user=nobody
secure_chroot_dir=/home/empty
force_dot_files=NO
hide_file={.*}
Last edited by yvesg; 08-10-2005 at 05:59 PM.
|