This document describes how to install the DNS server Bind on Debian so that it runs out of a chroot jail for security reasons.
This tutorial describes how to install and configure OpenSSH so that it will allow chrooted sessions for users. With this setup, you can give your users shell access without having to fear that they can see your whole system. Your users will be jailed in a specific directory which they will not be able to break out of.