Jump to content

Recommended Posts

Guest ulikabbq
Posted

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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...