//home | tags | archives | about | grosu.nl | eulinux.org

vsftpd - chroot users to their homedir

floyd - Sun 30 November 2008 - ftp, linux, security

Open the 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