Here are some handy /etc/vsftpd/vsftpd.conf options:
1) You can jail ALL shell users to their respective home directories using
2) You can selectively jail users to the home diretories using
of course you need to create the file /etc/vsftpd.chroot_list for the second method, and list the usernames that are to be jailed.
PS: Be carful if you combine the two methods using
cause then the file list has the opposite effect, in the sense that it lists users that ARE NOT jailed to their home directories.
Hope this helps.
users logging in via ssh are still able to browse the directories outside their home. You should deny ssh login to users that you don't want to be able to do that.