Securely enter a chroot and run a command or login shell