Debian Codegraph @

upstream/mageia-cauldron/man1/chroot.1

raw
1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1.
2 .TH CHROOT "1" "September 2025" "GNU coreutils 9.8" "User Commands"
3 .SH NAME
4 chroot \- run command or interactive shell with special root directory
5 .SH SYNOPSIS
6 .B chroot
7 [\fI\,OPTION\/\fR]... \fI\,NEWROOT \/\fR[\fI\,COMMAND \/\fR[\fI\,ARG\/\fR]...]
8 .SH DESCRIPTION
9 .\" Add any additional description here
10 .PP
11 Run COMMAND with root directory set to NEWROOT.
12 .TP
13 \fB\-\-groups\fR=\fI\,G_LIST\/\fR
14 specify supplementary groups as g1,g2,..,gN
15 .TP
16 \fB\-\-userspec\fR=\fI\,USER\/\fR:GROUP
17 specify user and group (ID or name) to use
18 .TP
19 \fB\-\-skip\-chdir\fR
20 do not change working directory to '/'
21 .TP
22 \fB\-\-help\fR
23 display this help and exit
24 .TP
25 \fB\-\-version\fR
26 output version information and exit
27 .PP
28 If no command is given, run '"$SHELL" \fB\-i\fR' (default: '/bin/sh \fB\-i\fR').
29 .SS "Exit status:"
30 .TP
31 125
32 if the chroot command itself fails
33 .TP
34 126
35 if COMMAND is found but cannot be invoked
36 .TP
37 127
38 if COMMAND cannot be found
39 .TP
40 \-
41 the exit status of COMMAND otherwise
42 .SH AUTHOR
43 Written by Roland McGrath.
44 .SH "REPORTING BUGS"
45 Report bugs to: bug\[email protected]
46 .br
47 GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
48 .br
49 General help using GNU software: <https://www.gnu.org/gethelp/>
50 .br
51 Report any translation bugs to <https://translationproject.org/team/>
52 .SH COPYRIGHT
53 Copyright \(co 2025 Free Software Foundation, Inc.
54 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
55 .br
56 This is free software: you are free to change and redistribute it.
57 There is NO WARRANTY, to the extent permitted by law.
58 .SH "SEE ALSO"
59 \fBchroot\fP(2)
60 .PP
61 .br
62 Full documentation <https://www.gnu.org/software/coreutils/chroot>
63 .br
64 or available locally via: info \(aq(coreutils) chroot invocation\(aq