1CHROOT(1) User Commands CHROOT(1)
2
3
4
6 chroot - run command or interactive shell with special root directory
7
9 chroot [OPTION] NEWROOT [COMMAND [ARG]...]
10 chroot OPTION
11
13 Run COMMAND with root directory set to NEWROOT.
14
15 --groups=G_LIST
16 specify supplementary groups as g1,g2,..,gN
17
18 --userspec=USER:GROUP
19 specify user and group (ID or name) to use
20
21 --skip-chdir
22 do not change working directory to '/'
23
24 --help display this help and exit
25
26 --version
27 output version information and exit
28
29 If no command is given, run '"$SHELL" -i' (default: '/bin/sh -i').
30
32 Written by Roland McGrath.
33
35 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
36 Report any translation bugs to <https://translationproject.org/team/>
37
39 Copyright © 2020 Free Software Foundation, Inc. License GPLv3+: GNU
40 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
41 This is free software: you are free to change and redistribute it.
42 There is NO WARRANTY, to the extent permitted by law.
43
45 chroot(2)
46
47 Full documentation <https://www.gnu.org/software/coreutils/chroot>
48 or available locally via: info '(coreutils) chroot invocation'
49
50
51
52GNU coreutils 8.32 April 2020 CHROOT(1)