The chroot tag has no wiki summary.
1
vote
1answer
46 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 ...
2
votes
0answers
82 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 ...
0
votes
0answers
30 views
Servers running from chrooted Ubuntu on HP TouchPad?
The problem: servers appear to be broken inside my Ubuntu chroot. No matter what kind of server I try to run, they all seem unresponsive (VLC server won't respond to client, mkRemote doesn't move the ...
1
vote
1answer
96 views
Unix chroot questions
I have a few questions about chroot:
What are the minimum requirements for chroot? Can you chroot into another Unix OS that has /bin/bash in it?
Is it possible for the chroot to run in other ...
0
votes
0answers
105 views
Make a centos 6 chroot environment on centos 5
My server install centos 5.x that based on glibc 2.5.x, I have an application that require glibc 2.6 to run, so is it possible to setup chroot environment based on centos 6 with newer glibc on centos ...
0
votes
3answers
111 views
Can I chroot to a linux environment from windows
I want to know if it is somehow possible to chroot into a Linux system from Windows,
or, is there some technique or hack to achieve that?
0
votes
1answer
23 views
Very limited chroot
I need an absolutely minimal chroot environment that only has a few commands to handle files & directories. No usermanagment or such. Since I want to create such an environment for every of my ...
1
vote
1answer
34 views
How to share a directory across chroots
I have multiple chroots with different sets of software version as a light-weight alternative to VMs.
How can I share a directory across the VMs? Naturally, symlinks do not allow to escape a chroot. ...
1
vote
1answer
181 views
Shared memory in chroot environment
I'm playing with Ubuntu 11.10 launched in a chroot environment under Android 3.2.1. Most of the software works fine except PostgreSQL. When installed or initdb launched it's saying:
FATAL: could ...
1
vote
1answer
54 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
79 views
Exclude specific group/users from ForceCommand in OpenSSH ssd_config
I want to make ForceCommand internal-sftp and ChrootDirectory /jail the default for all users accessing a server via SSH. Only users in a certain group are allowed to escape this.
How can I exclude a ...
0
votes
0answers
38 views
Creating files in chroot as nobody causes segfaults
I am trying to create a chroot so I can run programs in a restricted environment. I also want the programs to deal with files (input or output). When I run programs in the chroot jail as user nobody, ...
2
votes
1answer
55 views
Loading a new kernel in a chrooted environment
Is it posible to load a new kernel while in a chrooted environment. Say I have one linux distro and want to chroot into another and load its kernel
0
votes
1answer
34 views
changed password is not updated for chroot-ed environment
I have a RHEL box or development. I changed my user and root passwords on it and I can see the change in effect. However, I have a chroot environment on this box and the changed passwords do not work ...
0
votes
0answers
31 views
how to mount a chroot-ed RHEL5.2 directory on remote Debian system?
I have a main dev box which is RHEL5.2 system. I normally open a terminal to the box from my Debian laptop and logon to it and chroot to for my dev work. Can I mount this chroot-ed directory on my ...
1
vote
2answers
200 views
How to change root device?
I want to be able to change the root device, say from sda to sdb, so that I am able to remove sda. I don't believe this is possible with chroot, as I am changing the root folder to a mount point that ...
1
vote
2answers
205 views
ping not working in a chroot
How can I use the ping command in a chroot environment?
$ ping 8.8.8.8
ping: icmp open socket: Operation not permitted
Currently I am using CentOs, but ideally there must be a solution that works ...
0
votes
1answer
62 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 ...
0
votes
2answers
227 views
Guide to creating a chroot environment - specifically with a different kernel
I have successfully installed a Ubuntu chroot (Maverick) on a running Linux appliance (an old Thecus N5200PRO box) which has been running various services for me quite happily.
When I attempted to ...
0
votes
1answer
101 views
Normal permissions for running mysql
I'm trying to run mysqld inside chroot environment. Herez the situation.
When I run mysqld as root, I can connect to my databases. But when I run mysql using init.d scripts, mysql gives me an error.
...
3
votes
1answer
147 views
How to add pointers to filesystems outside the chrooted environment - using chrooted SFTP via OpenSSH
So, I'm pretty sure this is true, but I haven't found a specifically detailed independent reference that directly answers my question. Question being:
How can I add access to a resource that is ...
2
votes
1answer
214 views
Adding user to chroot environment
I've created a chroot system in my Ubuntu using schroot and debrootstrap, based on minimal ubuntu. However whenever I can't seem to add a new user into this chroot environment. Here is what happens.
...
1
vote
1answer
209 views
os x snow leopard install xcode in chroot
I'm trying to build a chroot environment for testing developer builds of some software. I need xcode installed in this chroot to build it, but the xcode package from the snow leopard install dvd will ...
1
vote
2answers
835 views
Failed to su after making a chroot jail
On a 64 bit CentOS host I am using script make_chroot_jail.sh to put a user in a jail, not permitting it to see anything expect it's home at /home/jail/home/user1.
I did it typing this:
sudo ...
0
votes
7answers
3k 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 ...
1
vote
1answer
132 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
350 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 ...
4
votes
2answers
6k 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 ...
1
vote
1answer
360 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?
4
votes
1answer
4k 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 ...