Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an requirement that requires all applications running on a server in a DMZ to be chrooted. How does one chroot an application using Ubuntu? Are there any good online guides?

share|improve this question
Please visit your prior questions and select correct answers where appropriate. Users of this site are less likely to assist someone with a 0% accept rate, as this means they will not likely receive reputation bonus for a correct answer. – Kyle Smith Mar 20 '12 at 15:46

There is no one way to move an application into a chroot jail. Each application has its own dependencies, shared library requirements, etc., all of which need to be taken into consideration when chrooting it.

If you have a specific application you need to chroot, then mention what it is and we can try and give more specific guidance.

share|improve this answer
I'd like to chroot apache2 webserver – Tucker Mar 20 '12 at 20:06
Please edit your question to include that information. – EEAA Mar 20 '12 at 20:25

Your Answer


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.