Skip to content
chroot
EntityQ175297· pop 22· linked from 277 articles

chroot 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

Wikidata facts

Image
Chroot-command-example.png
Show 1 more fact
Sources (3)

via Wikidata · CC0

~8 min read

Article

9 sections
Contents
  • History
  • Uses
  • Limitations
  • Graphical applications on chroot
  • Notable applications
  • Linux host kernel virtual file systems and configuration files
  • See also
  • References
  • External links

chroot 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

==History== The system call was introduced during development of Version 7 Unix in 1979. One source suggests that Bill Joy added it on 18 March 1982 – 17 months before 4.2BSD was released – in order to test its installation and build system. All versions of BSD that had a kernel have . An early use of the term "jail" as applied to comes from Bill Cheswick creating a honeypot to monitor a hacker in 1991.

Gallery (2)

Connections

Categories