vsftp chroot issue

  • Thread starter Thread starter ulikabbq
  • Start date Start date
U

ulikabbq

I have setup an ftp site and I have it working with one issue. I have tried to jail the users to the home dir, but I can't connect unless chroot_list_enabled=YES. Once I change this to NO then I am refused connection.

This config allows me to connect but the users are not jailed.

listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
passwd_chroot_enable=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/private/vsftpd.pem
pasv_enable=YES
pasv_max_port=12100
pasv_min_port=12000
port_enable=YES
pasv_address=x.x.x.x

Continue reading...
 
Back
Top