a linux command to change the filesystem root a process can see, limiting it's access to the real filesystem root

learn more… | top users | synonyms

2
votes
0answers
45 views

Ubuntu for Android, Ubuntu for Devices, LinuxonAndroid project for Ubuntu on ARMv7 machine?

I've looked around but can't find any solid solutions or help on this topic. I recently ordered a machine with an ARMv7 CPU (Cortex A-9, <= 1.6GHz, quad core). The machine also has a Mali-400 ...
0
votes
0answers
16 views

Is it necessary to mount /dev/shm when chroot from Ubuntu Live CD?

Ubuntu is a Debian derivation. Debian squeeze (6.0.0) requires /dev/shm mounting for chroot. I do want to chroot to re-install grub. Does Ubuntu also require /dev/shm mounting for correct chrooting ...
-1
votes
0answers
22 views

CHROOT files not copied to chroot env

is there a way to copy files to a chroot env before chroot in a directory? I mean I have to copy a .sh file to work/rootfs/bin/ and to do that I use sudo cp command.sh ${WORK}/rootfs/bin/ but when I ...
0
votes
0answers
19 views

LTSP installation step failed

Today I've tried installing an LTSP server on a virtual machine (host : Win 8 x64, virtualbox 4.3.6 r191406 as the newer versions have problems), I gave it an additional NIC as host only. Everything ...
0
votes
0answers
46 views

ubuntu 14.04 livecd chroot error

I wanted to try to reinstall grub2 for ubuntu 14.04: run 14.04 livecd mount the root partition and mount dev sys run proc: sudo mount /dev/sdc1 /mnt for d in dev sys run proc; do sudo mount -o ...
0
votes
0answers
18 views

All SFTP chroot access is read only?

These are the pertinent lines from my /etc/ssh/sshd_config Subsystem sftp internal-sftp Match Group sftp X11Forwarding no AllowTcpForwarding no ChrootDirectory %h ForceCommand internalsftp ...
1
vote
3answers
53 views

How to enter a chroot without using sudo?

Is it possible to enter a chroot without using sudo? If so, how? I've tried googling, but all I get are results about crouton.
0
votes
0answers
28 views

How do I make a chroot clone of my [current setup] like after a fresh install

Where I am... I know that I debootstrap trusty /chroot-dir and then I... mount --bind /dev /chroot-dir/dev && mount --bind /proc /chroot-dir/proc and then cat ...
0
votes
0answers
158 views

Having an issue with Ubuntu on my Samsung Chromebook?

Ok so first off I had this running pretty slick before my fiance touched it. Booted it back to regular mode. So i have to go back through and turn developer mode on, and reinstall crouton and all ...
0
votes
0answers
25 views

Tightvnc Server - How to [Minimal CPU/Latency] for basic apps over 802.11n direct

Greetings fellow tinkers, and people who... "fix" things... Right then!So I have a Nexus 5 in a chrooted Ubuntu 14.04 that I want to export the display from to a 10 inch tablet via wifi - And before ...
0
votes
0answers
13 views

Is there a guide step by step to use old libraries within a new system or new libraries with a old system for debootstrap or chroot?

The response in here How to run HipHop with an old libc6 (not solved) and libc.so.6: version `GLIBC_2.16' not found was so short (for me, I am mid level linux user, not pro, because I don't know ...
1
vote
1answer
73 views

How to resolve hostnames in chroot?

I try to repair an broken Ubunu 14.04 with chroot. What I did, is to boot Ubuntu from USB mounted the original system that has to be repaired and changed to this system with chroot: sudo mount ...
1
vote
0answers
178 views

How do I chroot an SSH user to their home directory?

I don't want to use jailkit. My OS is Ubuntu 14.04. I am setting up a user account on my server for a kid I tutor, so he can run a minecraft server. He will be using putty to ssh into my server, and I ...
1
vote
1answer
86 views

wget inside chroot - cannot verify certificate?

I'm trying to install some packages into a chroot and when getting the key I get these errors: root@devpc:/# wget -O- 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' ...
0
votes
1answer
54 views

Chroot with specific kernel

I need to build some old drivers with specific kernel version. The Kernel 2.6.31-20-generic is needed. I have tried to built it on Ubuntu 12.04 and the new one, 14.04 with no success. The only one ...
1
vote
0answers
273 views

LTSP - thin client VS fat client - how does the root folder work?

There is plenty of information on the internet including here, but I could not find a specific discussion on it. Any comment is appreciated. Sorry if it is a very rookie question. I installed Ubuntu ...
1
vote
0answers
78 views

Is it possible to compile a kernel module under chroot?

Under a chroot environment, is it possible to build a kernel module without having the kernel installed, just the headers? It sounds like something you wouldn't want to do, but in my case I do. I've ...
0
votes
0answers
26 views

Unsuccesful upgrade from 13.10 to 14 64bit

I had unsuccessful upgrade to kubuntu 14, unfortunatly. I does this steps: sudo mkdir -p /media/ubuntu sudo mount /dev/sda1 /media/ubuntu sudo mount --bind /dev /media/ubuntu/dev sudo mount --bind ...
0
votes
0answers
156 views

ubuntu upgrade rescue meet the udev problem, help

Thank adevance, please help me out! I upgrade from 13.10 to 14.04, but there is problems occured, so I rescued through KNOPPIX livecd. Just now the problem is: when i tried in chroot enviroment : ...
0
votes
1answer
309 views

Chromebook crouton installation continually failing

I have a Samsung ARM (Series 3) chromebook. Following the tutorials online to download Ubuntu via crouton, and each of the three times I have tried, I get this error before the installation ...
0
votes
0answers
75 views

How to chroot [Android] on top of [Ubuntu]

I know I can run ubuntu on android: With a Chroot (Linux installer, etc from market) but how does one run android chroot under ubuntu?
0
votes
0answers
284 views

vsftpd giving 500 OOPS: vsftpd: refusing to run with writable root inside chroot() even though the root is not writable

I have a user - ftpuser - whom I want to chroot to his home directory. I set the .conf file, created the user, and set his home directory to read only: $ cat /etc/passwd ...
1
vote
0answers
25 views

Create Jailed Users Using Programing Language

I want to create limited users in my system able to use only few commands. I read this question and jailkit is awesome and do what I want, except one thing creating the users dynamically (via ...
0
votes
0answers
88 views

ARM chromebook crouton xfce precise. one too many desktops

Running crouton xfce precise on ARM chromebook. I seem to have set up 2 chroots. when using the ctrl/alt/shift/back key combo I cycle through chrome desktop, then 2 xfce/ubuntu desktops. the one i ...
0
votes
0answers
113 views

Need help with sending audio from Ubuntu inside Linuxonandroid to Android

I understand that this is not entirely a Ubuntu question but it's pretty darn near:). I'm asking this question here since the linuxonandroid community is too small to get this solved within this ...
0
votes
1answer
32 views

uptart and gnokii and chroot

I try to run this upstart script. # description "" author "" start on runlevel [2345] stop on runlevel [!2345] #chroot /home/ubuntu/ respawn respawn limit 1 1 exec sudo smsd -u ...
0
votes
1answer
257 views

Provide an Xserver To Chroot

Description: I'm using a Lubuntu 13.10 X86-64 livecd to chroot into another Lubuntu 13.10 X86-64 located on my hard drive in a folder called chroot. I've had no trouble using the terminal to chroot ...
1
vote
1answer
104 views

postfix doesn't authenticate through /var/spool/postfix/var/run/saslauthd

I have a problem with postfix. I followed all description from https://help.ubuntu.com/community/Postfix. And it worked perfect except smtp authentication. I've suffered that mail.log always told ...
0
votes
1answer
20 views

installing ubuntu base system in home folder as non-root

I don't have root acess to a server which is running centos. I need a minimal ubuntu chroot environment in my $HOME . (just the apt-get, repositories etc to install packages and run them in terminal. ...
0
votes
0answers
59 views

chroot to repair grub gives corrupted shared libraries

I'm currently trying to repair a system that's stuck at the grub rescue> prompt. It seems like grub needs to be reinstalled, so I'm following some prior threads to get there. Trying to chroot into ...
0
votes
1answer
387 views

Ubuntu fails to complete chroot setup during installation, how do I resolve this? [duplicate]

I am trying to download Ubuntu using crouton but I keep getting the same error message: Errors were encountered while processing: /var/cache/apt/archives/smbclient_2%3a3.6.3-2ubuntu2.9_amd64.deb ...
1
vote
2answers
428 views

Cannot access LAN in chroot

I have a Ubuntu 12.04 x32 running in a Chroot environment (using Crouton) on my Chromebook. It runs perfectly, and can access the internet. However, it cannot access computers on the local network (it ...
0
votes
1answer
61 views

ARM Chroot installing xfce fails, packages named different

I am trying to install xfce within an ARM chroot, most packages download fine however a handful error out, after looking at the packages in the repo I have found that what apt-get is trying to get ...
1
vote
2answers
472 views

ARM ubuntu fails to get certain packages

I have ARM ubuntu running under a chroot and everything seems to be set up and working well, however when I go to install certain packages I end up with failing to fetch errors, this does not happen ...
2
votes
1answer
76 views

SFTP chroot configuration error

Can anyone see what I have done wrong in this procedure? I can connect to the server as the new user and am in the chrooted directory, but despite setting all the proper root permissions, I cannot add ...
2
votes
0answers
225 views

Cannot install into target mounted with noexec or nodev while doing qemu-deboot strapping

I'm trying to install the armel version of Ubuntu with qemu-deboot-strap on my desktop X64 system,but I've found this error : $ mkdir precise $ sudo qemu-debootstrap --arch=armel precise ./precise/ ...
2
votes
1answer
712 views

How to configure SFTP to login in the “/” directory?

I want to login as root and make the / as the default directory in SFTP. Newbie help needed
0
votes
1answer
109 views

Sandbox way for linux [closed]

I wonder if there is a kind of a sandboxing solution for linux: when I want to try a software without installing it I get all the .deb files and extract then somewhere, then I do two things: export ...
1
vote
0answers
302 views

How to get Juniper 7 (R4) working with Ubuntu 13.04 (64) on Chromebook (Crouton install)?

I've been trying to get my company's Juniper VPN to work on my Crouton install. I'm running Crouton on a C720 with Ubuntu 13.04. I was able to get past the JRE issue (Not able to connect to Juniper ...
0
votes
1answer
17 views

Restricting certain actions in a directory

So i have a web project, its a website that gives certain problems and the users try to find a solution using the C language, the compiling process is done by PHP, what i want to know is how can i ...
0
votes
0answers
56 views

What is required to enable outbound connections from a chroot jail?

I have Apache2 running in a chroot jail, using the Apache config option 'ChrootDir /chroot', The OS is Ubuntu Pangolin 12.04. The jail ('chroot' dir) is manually built, with a minimal set of files, ...
1
vote
0answers
193 views

Copying files into custom uck chroot environment

I have been trying to setup a custom Ubuntu 13.10 ISO, containing programs and utilitiess that are beyond what is installed by default. I am initially using uck and finally got it working for me, ...
1
vote
0answers
73 views

Chrooting to a mounted USB Stick using SFTP

I would like to use SFTP over OpenSSH as a small FTP server. However I would like to use a mounted hard drive or USB stick as the chrooted directory for the user. As far as I see, chrooting is ...
1
vote
0answers
77 views

Restore permission and ownersip to root/home folders?

I have migrated my system to a new hard disk and backed up my system to an external NTFS volume with rsync- ahv, a oversight and mistake given that NTFS volumes do not support UNIX permissions. ...
1
vote
0answers
141 views

X Server crashes when I start Firefox from chroot

I thought to start an isolated Firefox instance in a chroot, but it always crashes my X Server. I tried with different chroot environments (raring, trusty), and tried schroot and plain chroot too. ...
0
votes
1answer
190 views

Accidentally uninstalled all kernels

I'm running the Ubuntu 12.04 LTS LAMP server. I got an error stating that my root directory was full after running an apt-get dist-upgrade, so following the instructions I found online, I uninstalled ...
1
vote
0answers
247 views

ImportError: No module named mechanize

I am having an issue where I have definitely installed mechanize both on my machine and in various virtual environments. When i running the program got error message ImportError: No module named ...
12
votes
3answers
2k views

What does “${debian_chroot:+($debian_chroot)}” do in my terminal prompt?

In my terminal prompt definition in my .bashrc file, among other things, I have this snippet of code: ${debian_chroot:+($debian_chroot)} What does this do, and do I need it?
1
vote
0answers
34 views

Is it possible to upgrade a machine remotely using local system resources?

I'm doing an upgrade on a little Intel Atom "nettop". It's extremely slow and takes somewhere around an hour to do a release upgrade. I'm looking to improve that. This question follows a slightly ...
0
votes
0answers
27 views

How to reset chroot

I've been using chroot to do some testing . But after i'm done i want a fast way to simply reset the chroot so i can reuse it again without recreating it from scratch .