Added checking if user is in a chroot.