chroot
Sign in to savechroot is a shell command and a system call on Unix and Unix-like operating systems that changes the apparent root directory for the current running process and its children. A program that is run in such a modified environment cannot name (and therefore normally cannot access) files outside the designated directory tree. The term chroot may refer to the system call or the command-line utility. The modified environment is called a chroot jail. thumb|Chroot: from Gentoo to Ubuntu
Key facts
- Software.name
- chroot
- Software.screenshot
- Chroot-command-example.png
- Software.caption
- Example usage of chroot in Raspberry Pi OS running an interactive shell within a special root directory
- Software.author
- Bill Joy, AT&T Bell Laboratories
- Software.developer
- Various open-source and commercial developers
- Software.operating system
- Unix, Unix-like, Plan 9, Inferno
- Software.platform
- Cross-platform
- Software.genre
- Command
via Wikipedia infobox
Article · Português
O comando chroot do sistema operacional Unix é uma operação que muda o diretório root do processo corrente e de seus processos filhos. Um programa que é re-rooted para um outro diretório não pode acessar arquivos fora daquele diretório, e o diretório é chamado de "prisão chroot" O comando Chroot permite transformar um diretório no seu diretório raiz atual, num console. Uso: # chroot [comando] Se [comando] é omitido, um shell será aberto. Este comando só poderá ser executado por super-usuários (root ou usuários com UID = 0).
Abstract from DBpedia / Wikipedia · CC BY-SA