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

4
votes
0answers
337 views

Is there a proper way to set up a copy-on-write based build env that use your live / as base files?

I'm trying to set up a build environment using chroot, but instead of downloading ubuntu base files, I want to use my live / as base files for the chroot and use c-o-w to redirect any changes made in ...
4
votes
0answers
153 views

How I can run Android 4.0.4 in chroot on Ubuntu 12.04 on the Pandaboard ES?

I want to run fully functional Android 4.0.4 on my Ubuntu 12.04 installation on the Pandaboard ES with the LXC containers.
3
votes
0answers
1k 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/ ...
3
votes
0answers
1k views

What are the differences between jails and chroot?

I'm currently trying to point out the finer details between chroot spaces and jails. And clear up some of the controversy in the phrase "chroot jail." So far I have chroot defined simplistically as ...
2
votes
0answers
51 views

startx not working

I am attempting to install Ubuntu on an ASUS T100. However, when I boot it manually from GRUB, it crashes into an intramfs shell. I am able to mount the filesystem from the intramfs ASH shell and ...
2
votes
0answers
42 views

How to cleanup Ubuntu SDK chroots?

I have many chroots created by Ubuntu SDK, automatically mounted at boot: $ df -h Filesystem Size Used Avail Use% Mounted on udev 1,9G 0 1,9G 0% ...
2
votes
0answers
69 views

How can I set vsftpd user-specific access?

I'm using vsftpd (on 14.04) and I want to set user-specific access: - admin has full access to home folder of all users - standard user (everyone from group "users") has permission only for his home ...
2
votes
0answers
448 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 ...
2
votes
0answers
466 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 ...
2
votes
0answers
2k 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 ...
2
votes
0answers
952 views

Why does mounting proc in my chroot fail during debootstrapping?

In a cleanly installed Ubuntu Raring machine I am trying to perform a debootstrap of another system. Here's the exact command: http_proxy=http://192.168.122.1:8000/ debootstrap --arch=amd64 raring ...
1
vote
0answers
36 views

Access to Files Outside the Home Directory Chroot - For every Users

I want to allow access to /var/www/dev/ to every user in my system (+50) via their home directory (so they can access via FTP with chroot_local_user=YES) For one particular user I can do: mkdir ...
1
vote
0answers
39 views

-Chroot- Ubuntu KDE Network Manageer

I'm running Ubuntu KDE through Crouton on the ChromeOS, and the network manager doesn't seem to show up (doesn't show up on XFCE either). I tried running it "Unknown Command". I tried reinstalling the ...
1
vote
0answers
44 views

Wrong home dir in sftp

I set up an sftp server with openssh but when I connect to it I cannot browse my folder. The answer to pwd command is: / and to ls command is: remote readdir("/"): Permission denied [added after ...
1
vote
0answers
96 views

Can't find job mysql on crouton precise

I'm using Ubuntu precise as chroot in my chromebook machine. I'm trying to install mysql through apt-get install mysql-server. The thing is, when I try to start it, it can't find the job: ...
1
vote
0answers
46 views

ProFTPD - set a group manager to access all users files in the group tree

I am currently developing a client application with pyqt and ftplib to help backup/restore file to/from a ProFTPD server. The company is divided into many agencies and every agency is a ftp group with ...
1
vote
0answers
206 views

Multiple sftp users and access to a /var/www subdirectory

I have some users on my Ubuntu server with vsftpd installed. The server is used as web server and has a shared sftp directory that is accessed by public clients (by giving them the user and password). ...
1
vote
0answers
102 views

`debootstrap` or `chroot` with `fakeroot[-ng]` instead of `sudo`: is it right or wrong?

Background I wanted to use debootsrap with fakeroot-ng. It started fine, but later on debootsrap stopped with an error and I had a dialogue box reporting tar crashed. However, as I had some ...
1
vote
0answers
117 views

OpenSSH chroot breaks ssh and ftp

I'm trying to set up a webserver with a restricted sftp connection. I've googled and followed several walkthoughs that all appear to be pretty much the same thing. Here are my steps: Fresh install ...
1
vote
0answers
61 views

How do I Resolve a dependency issue with Ubuntu SDK, chroot, CMakelists, and the Emulator?

I am trying to build lp:ubuntu-filemanager-app on the ubuntu sdk for running on the emulator. The libraries I need are installed on my system, and in the phablet-shell. I can run the application in ...
1
vote
0answers
169 views

Customized sources.list for custom live CD

I recently built myself a custom live CD of Xubuntu 14.04.1. This live CD is used to distribute to my customers to install on their machines with a set of pre-installed applications, some of which are ...
1
vote
0answers
33 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 ...
1
vote
0answers
128 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
97 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
290 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. ...
1
vote
0answers
35 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 ...
1
vote
0answers
257 views

Chroot environment can access external, but not internal network

I've just set a chroot environment up on a new 12.10 install, and it seems capable of accessing the external network (Internet basically) but it cannot access anything on the internal network inside ...
1
vote
0answers
693 views

Debootstrap chroot Installation Error

During initial installation (using both Network installation and CD ISO) of Ubuntu Server 12.04.1 LTS (64-bit) as a guest VM on XenServer 6.1 I'm getting this error: Debootstrap warning Warning: ...
0
votes
0answers
12 views

Is there a way to fill the /boot file system of Trusty, apart from a new installation?

For the second time the install from DVD hanged stuck, while the status line was saying: "Loading boot loader." The system is then not booting (black screen), and after using chroot, grub-mkconfig ...
0
votes
0answers
258 views

chroot setup Keyring files not available hp armv7 chromebook

I am trying to install Crouton to a Chromebook. I have done it before and it worked perfectly. I had a issue and had to remove my chroot, now when I try to install sudo sh ~/Downloads/crouton -t ...
0
votes
0answers
33 views

On a chroot Ubuntu system how can I install ws?

I have a chromebook with a Precise Ubuntu chroot on it. I try to install npm using sudo apt-get install npm and that works. However, when I try to install ws using npm install --save ws It ...
0
votes
0answers
99 views

apt-get can't find Kodi package dependencies inside chroot

I am currently trying to figure out a way to install and run certain programs on Ubuntu Touch on my Nexus4 without running out of space on the 2G system partition. apt-get can't install to other ...
0
votes
0answers
40 views

cant start unity/ubuntu

yesterday i installed ubuntu and was able to use it and log into it, today i cant use chronos@localhost to start it. i type sudo startunity but all it says is chronos@localhost / $ sudo startunity ...
0
votes
0answers
16 views

run mumble server in chroot?

I'm a Linux beginner and I want to run a mumble server (murmurd) in a chroot jail (Ubuntu 14.04). So far, I have created my jail folder ( /var/jails/murmurd ) and copied in all lib dependencies there ...
0
votes
0answers
40 views

Can't get internet working in Chroot environment (from Live USB)

I got a "kernel panic" error in my Ubuntu 14.04, thus I'm trying to update to newest kernel using Live Ubuntu USB. I am following this guide to chroot into broken Ubuntu from Live USB, but I cannot ...
0
votes
0answers
44 views

Installing smart card drivers from .tar file. Running chroot unity/precise (14.04) on chromebook

I have a problem with installing smart card drivers on chroot ubuntu 14.04. I am runnin asus chromebook. At first I used developer mode to install linux which I access with : sudo startunity I ...
0
votes
0answers
48 views

viewing access levels with ftp and sftp

Client Win7 running filezilla Server Ubuntu 14.04 LTS, running vsftpd I have successfully installed vsftpd on my Ubuntu machine and I can login via the command line (ftp localhost) and remotely via ...
0
votes
0answers
133 views

Failed to complete chroot setup on Toshiba Chromebook 2

I am receiving the following failure when attempting to install chroot on a Chromebook 2: Fetching CRAS (branch 1006126d3a9b1ebeecfc549be4ade745a5ff7bfc)... --2015-10-10 06:53:12-- ...
0
votes
0answers
21 views

apache2 server upstart problem after “/” patch permission change due to sftp chroot

I face some permission problem with my apache server in ubuntu 12.04 Server worked fine until I setup sftp with chroot folder. In order to be able chroot,I had to change owner of "/" to root and ...
0
votes
0answers
46 views

Can I have more than 1 chroot directories?

According to the link: http://www.krizna.com/ubuntu/setup-ftp-server-on-ubuntu-14-04-vsftpd/. At the step number 8, he said "ChrootDirectory %h" for group "ftpaccess". My question is: Can we have ...
0
votes
0answers
44 views

Chrubuntu struggles

So I had downloaded and got Linux unity on my acer CB3-111. All was working fine until I switched my unit back on and had this screen in my Terminal after my attempt to 'sudo startunity' like usual.. ...
0
votes
0answers
147 views

Can't ftp into chrooted user through vsftpd (sftp only - which works through open-ssh) with home created in /chroot/home/user2

I have a Ubuntu 14.04 server running, with 2 users: user1 and user2. I have ssh working fine for both users using ssh-keys for both, ftp only works for user1. user1 is not chrooted. user2 is ...
0
votes
0answers
212 views

MythTV backend on a Synology

Is it possible to run a MythTV backend on a Synology NAS DS214+? My thoughts: if you use an external tuner (USB tuner, like Anysee or network tuner like the HD Homerun), processor power and memory is ...
0
votes
0answers
77 views

How do I generate a GRUB configuration file for another disk?

Assume I have two disks that both have Ubuntu installed on them. One is an internal drive and the other is an external drive (though this doesn't really matter). This procedure is running on the ...
0
votes
0answers
25 views

How to confirm chroot install

Ubuntu 14.04 installed and I believe I've created my 32 bit chroot. How can I confirm it and what to do to launch? I was instructed to run this command: sudo chroot --userspec=jakman NEWROOT I'm ...
0
votes
0answers
77 views

Can't boot into ubuntu

I have a lenovo n20p with Ubuntu installed , I was using linux just fine I managed to install wine, I then turned of my laptop and then back on and when I ran sudo startunity it didn't work. I got ...
0
votes
0answers
208 views

How to start lxde (lxsession) as a non-root user from ubuntu chroot on android phone?

I've built ubuntu-armhf on a partition on a memory card on moto g 4g phone, i can chroot to this and start lxde on an x-server app running on localhost:0 on the phone, this works fine as root, the ...
0
votes
0answers
19 views

Makeing programs from old Ubuntu in other partition available to new Ubuntu through chroot

I have Ubuntu 12.04 and Ubuntu 14.04 installed on my system. Now i want to access programs installed on my Ubuntu 12.04 from Ubuntu 14.04. I believe such thing is possible with "chroot" command, and i ...
0
votes
0answers
49 views

Why is install failing?

Reinstalling Ubuntu on an Acer Chromebook all looks well until at the bitter end I get these lines: "Compiling CRAS (I386)... tests/cras_test_client.c:21:26: fatal error: cras_version.h:No such ...
0
votes
0answers
65 views

GLIBC version not found when compiling inside a chroot

I am trying to port the build from CentOS to a Ubuntu machine running trusty in 64 bits. Compiling under 64 bits trusty yield an issue with assembly code compilation, so I compiled using chroot of 32 ...