0
votes
0answers
11 views

If I create a jail for a process does that process need to be chrooted every time I start it?

I just installed Debian on my computer and I'm looking to run ownCloud in a chroot jail. I'm not exactly sure how to do this but from what I can tell I just copy the files needed to install and run ...
2
votes
1answer
2k views

chrooted sftp user with write permissions to /var/www

I am getting confused about this setup that I am trying to deploy. I hope someone of you folks can lend me a hand: much much appreciated. Background info Server is Debian 6.0, ext3, with ...
2
votes
1answer
2k views

Booting linux system from chroot: is there a better way to do this?

I want to set up Grub menu entry to boot into chrooted system (installed chrooted debootstrap to avoid touching existing system too much). Currently I do the following to attain it: Install ...
3
votes
0answers
546 views

limits.conf ulimits not being applied to chrooted processes

We allow users to execute scripts on our servers. Our security model involves chrooting them. We want to be able to apply ulimit restrictions to them, and the best way to do it would seem to be in ...
1
vote
1answer
231 views

How do I enable tab tips in Bash?

I am working under debian squeeze. I always install packages such way: sudo apt-g(Tab pressed) i(Tab pressed) aria(Tab pressed) sudo apt-get install aria2 I have installed chroot squeeze to test my ...
1
vote
1answer
297 views

Run valgrind inside a chroot environment on Debian?

Is it possible to use valgrind within a chroot environment on Debian? It seems to need to access the proc filesystem, which is unsurprisingly inaccessible. root@tree:/# valgrind valgrind: warning ...
25
votes
4answers
44k views

mount dev, proc, sys in a chroot environment?

I'm trying to create a Linux image with custom picked packages. I followed the guide here http://www.olpcnews.com/forum/index.php?topic=4766.0 However, when I tried to install some packages, it ...