13

What is the difference of chroot, dchroot and schroot?

What do they have in common?

Where are the differences?

Which one is needed for what?

13

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] http://linux.die.net/man/1/schroot
[2] http://linux.die.net/man/1/dchroot

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.