The chroot utility changes its current and root directories to the sup-
plied directory newroot and then exec's command, if supplied, or an
interactive copy of the user's login shell.
The following environment variable is referenced by chroot:
SHELL If 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
chdir(2), chroot(2), environ(7), jail(8)
The chroot utility first appeared in 4.4BSD.
FreeBSD 5.1 January 24, 2002 FreeBSD 5.1
Man(1) output converted with