Provided by: manpages-zh_1.6.3.6-1_all bug

名稱

       chroot - 在特殊的根目錄下執行目錄或者互動式 shell

概述

       chroot [選項] 新根 [命令 [引數]...]
       chroot 選項

描述

       以指定的新根為執行指定命令時的的根目錄。

       --groups=G_LIST
              以 g1,g2,...,gN 的形式指定附加使用者組

       --userspec=USER:GROUP
              指定要使用的使用者和使用者組(ID 或者名稱)

       --skip-chdir
              不要將工作目錄切換為“/”

       --help 顯示此幫助資訊並退出

       --version
              顯示版本資訊並退出

       如果沒有給定命令,則執行“"$SHELL" -i”(預設為:“/bin/sh -i”)。

作者

       由 Roland McGrath 編寫。

報告錯誤

       GNU coreutils 的線上幫助: <https://www.gnu.org/software/coreutils/>
       請向 <https://translationproject.org/team/zh_CN.html> 報告翻譯錯誤。

版權

       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.

參見

       chroot(2)

       完整文件請見: <https://www.gnu.org/software/coreutils/chroot>
       或者在本地使用: info '(coreutils) chroot invocation'

       本頁面中文版由中文 man 手冊頁計劃提供。
       中文 man 手冊頁計劃:https://github.com/man-pages-zh/manpages-zh