thehenrys.net

January 15, 2008

CentOS 5 + vsftpd + lock some users in their home directory ?

Filed under: Server Admin — dh @ 11:27 am

vi /etc/vsftpd/vsftpd.conf

add:
chroot_local_user=NO

uncomment:
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list

vi /etc/vsftpd/chroot_list

add:
[restricted username]

service vsftpd restart

done! 😉

Leave a Reply