Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer 1

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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