chroot is a command on UNIX-like systems which runs a process under a different root directory.

learn more… | top users | synonyms

0
votes
7answers
24k views

How to change the root directory for a Linux user?

For a user on a Linux host, I need to make everything inaccessible besides his home directory. I have heard that this is usually done by changing the root directory for the user (and setting it to ...
2
votes
1answer
254 views

Preferred way to create a chroot when chrooting subset of users when logging with SSH?

By using libpam-chroot it is possible to chroot subset of users quite easily based on an username when user is logging with SSH. What is a good way to create this chroot and libpam-chroot setup. One ...
1
vote
1answer
1k views

Running stuff (web services) in chroot/isolated env

First of all, I read all the chroot questions I could find on the net and on Superuser. Basically they all cover running a 32bit app running on 64bit host and so on. I want to have an isolated ...
35
votes
4answers
86k views

mount dev, proc, sys in a chroot environment?

I'm trying to create a Linux image with custom picked packages.What I'm trying to do is to hand craft the packages I'm going to use on an XO laptop, because compiling packages takes really long time ...
1
vote
1answer
747 views

Chroot from Debian livecd

I'm trying to repair LILO on a Debian server. I'm trying to chroot, with chroot /mnt/boot /etc/csh and I get: chroot: cannot run command '/etc/csh': Permission denied How can I perform a chroot?
25
votes
1answer
42k views

What's the proper way to prepare chroot to recover a broken Linux installation?

This question relates to questions that are asked often. The procedure is frequently mentioned or linked to offsite, but is not often clearly and correctly stated. In an objective to concentrate ...