GNU/LinuxChange root (chroot)


Introduction

Change root (chroot) is an operation that changes the apparent root directory for the current running process and their children. A program that is run in such a modified environment cannot access files and commands outside that environmental directory tree.

Syntax

  • chroot [destination path] [shell or command]