the root directory to the supplied directory newroot and
exec command, if
supplied, or an interactive copy of your shell.
chroot [-u -user] [-g -group] [-G -group,group,...] newroot [command] [ARGS]
-u Set the USER to user after the chroot has taken place.
-g Set the GROUP to group after the chroot has taken place.
-G Set the Group List to group(s) after the chroot has taken place.
following environment variable is referenced by chroot:
set, the string specified by SHELL is
interpreted as the name of the shell to exec.
If the variable SHELL is
not set, /bin/sh is used.