I'm using both Redhat and CentOS. When i do followings:
# vi /etc/vsftpd/vsftpd.conf
chroot_local_user=YES
# service vsftpd restart
Then All Users are jailed in their homes.
What i really wanna know is:
In /etc/vsftpd/vsftpd.conf file comment the chroot_local_user=YES or set to NO and enable the following arguments
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
Put the particular user in the /etc/vsftpd.chroot_list, restart vsftpd with service vsftpd restart then that particular user would be jailed to his home directory.
Thanks & Regards,
Alok