Table of Contents
chrootuser - run a command chrooted as given user
chrootuser
user dir command [options]
This tool executes a given command
chrooted like chroot(8)
. Unlike chroot you must specify an user account
to switch to after chrooting. Mapping of user name to user id will be done
before chroot() call.
The return value is 1 if forking failed
otherwise 0.
chrootuser nobody /usr/chroot php -i
Frank Bergmann,
http://www.tuxad.com
Table of Contents