- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] vsftp chroot
- From: tuxta2 <tuxta2@xxxxxxxxxxxx>
- Date: Tue, 29 Nov 2005 18:39:54 +1000
- User-agent: Mozilla Thunderbird 1.0.7 (X11/20051013)
Jamie Wilkinson wrote:
This one time, at band camp, tuxta2 wrote:
Hi all,
I am currntly running vsftp and want to enable chroot for logins, so far
I cant make it happen.
When I edit /etc/vsftpd/vsftpd.conf and add in (what I think are) the
options then ftp doesn't work at all.
What do you think are the options?
Good point, it might be more useful if I tell you what I am doing.
Well basically ftp works fine but with out the chroot working. When I
add chroot_local_user=YES the sever rejects ftp requests.
Here is my /etc/vsftpd/vsftpd.conf
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
xferlog_enable=YES
xferlog_std_format=YES
chroot_local_user=YES
pam_service_name=vsftpd
listen=YES
tcp_wrappers=NO
When I have chroot_local_user=YES in the config file I get
Connection Refused
When I leave it out I dont have chroot, but ftp works.
Can I copy your config? That should get me started, and then I can learn
by looking at a working config
Tuxta