Table of Contents

Name

chrootuser - run a command chrooted as given user

Synopsis

chrootuser user dir command [options]

Description

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.

Return Value

The return value is 1 if forking failed otherwise 0.

Examples

chrootuser nobody /usr/chroot php -i

Author

Frank Bergmann, http://www.tuxad.com


Table of Contents