chroot (change root) is an isolation facility towards a process from
Linux kernel. chroot changes the root (/) filesystem for one process
into another directory. People calls chroot as jail, an environment when a process works only inside and can't see outside. In practice, creating a chroot environment is likely copying a program and its dependencies
inside a directory then performing chroot command. In other words,
chroot is likely creating a little clone of whole original system inside
a directory. In Linux, chroot needs root user. You
will see it. I will tell how to do chroot for bash by example. This
tutorial is applicable to another Linux distributions such as Linux Mint
or Debian.
Showing posts with label chroot. Show all posts
Showing posts with label chroot. Show all posts