chroot - 特別なルートディレクトリでコマンドまたは対話型シェルを実行する

SYNOPSIS

chroot [OPTION] NEWROOT [COMMAND [ARG]...]
chroot OPTION

DESCRIPTION

ルートディレクトリをNEWROOTに設定してCOMMANDを実行する。

--groups=G_LIST
補助グループをg1,g2,...,gNと指定する。
--userspec=USER:GROUP
使用するユーザーとグループ(IDまたは名前)を指定する。
--skip-chdir
作業ディレクトリを'/'に変更しない。
--help
このヘルプを表示して終了。
--version
バージョン情報を出力して終了。

コマンドが指定されない場合は、'"$SHELL" -i' (デフォルト: '/bin/sh -i') を実行する。

AUTHOR

Written by Roland McGrath.

REPORTING BUGS

GNU coreutils online help: <https://www.gnu.org/software/coreutils/>

Report any translation bugs to <https://translationproject.org/team/>

COPYRIGHT

Copyright © 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

chroot(2)

Full documentation <https://www.gnu.org/software/coreutils/chroot> or available locally via: info '(coreutils) chroot invocation'

External link