Is there any different between root and chroot in Linux? Can anyone please explain them?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
|||||
|
|
chroot is an operation, it changes the apparent root directory for the current running process and it's children. root is an account that by default has access to all commands and files on a Linux (Unix based) system. root directory is the highest directory in a hierarchy. |
|||
|
|
|
For eg.
will change the This is generally used in services like ftp to allow any user to access only a subtree of the whole directory tree. Thus it provide restrictions upto which a user can traverse. |
|||
|
|
