A chroot Help!!! Hurry!!!

From: Mark liu (liupeng@infosec.pku.edu.cn)
Date: 07/01/02


From: liupeng@infosec.pku.edu.cn (Mark liu)
Date: 1 Jul 2002 00:15:39 -0700

I try to create some safe shell for some users and I use chroot.I havd
created the directory /bin,/lib/,/tmp and copied the files
"bash","chroot" to the /bin.
I add the following line to the file ".bash_profile":

chroot /home/safeshell /home/safeshell/bin/bash

It can't work. The error message is "chroot:can't change the root
directory to
/home/safeshell:Permission Denied

Why???My os is Turbo Linux 6.1
Thanks!!!


Quantcast