What is the difference between chroot, dchroot and schroot?

What is the difference between chroot, dchroot and schroot?

What do they have in common?

Where are the differences?

Which one is needed for what?

1 Answer

A chroot may be used directly as root by running chroot(8), but normal users are not able to use this command. schroot allows access to chroots for normal users using the same mechanism, but with permissions checking and allowing additional automated setup of the chroot environment, such as mounting additional filesystems and other configuration tasks. This automated setup is done through the action of setup scripts which may be customised and extended to perform any actions required.[1]

dchroot is basically an earlier version of the same thing, but its use is being (or has been) deprecated in favour of schroot.[2]

[1]
[2]

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like