Sunday, November 30, 2008

vsftpd - chroot users to their homedir

Open vsftpd configuration file - /etc/vsftpd/vsftpd.conf
nano /etc/vsftpd/vsftpd.conf

Make sure following line exists (and uncommented):
chroot_local_user=YES 

Save and close the file. Restart vsftpd.
/etc/init.d/vsftpd restart

0 comments: