chroot

version: 0.0.9
[OPTION]... NEWROOT [COMMAND [ARG]...]

Run COMMAND with root directory set to NEWROOT.

Options

--help, -h

Print help information

--version, -V

Print version information

--user=<USER>, -u <USER>

User (ID or name) to switch before running the program

--group=<GROUP>, -g <GROUP>

Group (ID or name) to switch to

--groups=<GROUP1,GROUP2...>, -G <GROUP1,GROUP2...>

Comma-separated list of groups to switch to

--userspec=<USER:GROUP>

Colon-separated user and group to switch to. Same as -u USER -g GROUP. Userspec has higher preference than -u and/or -g