CHROOT(8) | System Manager's Manual | CHROOT(8) |
chroot | [-G group,group,...] [-g group] [-u user] newroot [command] |
If the -u, -g, or -G options are given, the user, group, and group list of the process are set to these values after the chroot has taken place; see setgid(2), setgroups(2), setuid(2), getgrnam(3), and getpwnam(3).
Note: command or the shell are run as your real-user-id.
August 13, 2011 | NetBSD 6.1 |