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

5
votes
0answers
382 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
156 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
22 views

How to sandbox code in chroot for multiple users?

What am I trying to do? I'm writing a code evaluator using chroot and python and went to hackerrank for some inspiration. What I think is happening at Hackerrank? Hackerrank creates run-...
3
votes
0answers
92 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% /...
3
votes
0answers
2k 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
137 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
282 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). ...
2
votes
0answers
78 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
482 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 quad-...
2
votes
0answers
499 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
1k 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
111 views

How to set ulimit in Ubuntu 15.10 chroot?

I have an Ubuntu 15.10 in a chroot and would like to permanently set a ulimit value (ulimit -c unlimited). I have looked at modifying the /etc/security/limits.conf file but the changes are not being ...
1
vote
0answers
78 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
51 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
87 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
136 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: (precise)...
1
vote
0answers
71 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
123 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
145 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
77 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
182 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
34 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
135 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
101 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
309 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
279 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
746 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
13 views

how to load cinnamon setting via chroot

i want to remaster ubuntu 16.04 then i load my cinnamon setting from my pc then load it in chroot using this command dconf load /org/cinnamon/ < mysettings but i got this error error: Error ...
0
votes
0answers
78 views

Ubuntu 16.04 Wifi Driver mysteriously disappearing, again

I am running Ubuntu 16.04 with LXDE, LXQt, and Ubuntu desktop, with BOINC Enigma@Home actively running. My WiFi did not work when I first started the LiveUSB, and when I restarted the LiveUSB ...
0
votes
0answers
23 views

How do I add users to a user_list for vsftpd?

I am taking a unix server class, and have been tasked with setting up vsftpd with 5 added users. I seem to be having problems giving users access to the files on the ftp server after I set it up. ...
0
votes
0answers
19 views

I powerwashed a Chromebook with Crouton installed. I still have my Chroot on a flashdrive. How do I load up the chroot again?

I have a Chomebook in Developer mode with Ubuntu on a chroot on a flash drive. Recently, I had to Powerwash my Chromebook because of an error which could not be resolved any other way. I still have my ...
0
votes
0answers
31 views

How (and is it a good idea) to open PDF documents in chroot?

I sometimes need to browse through lots of PDF documents, not always from trusted sources. I keep my software up-to-date (I'm running Ubuntu 16.04 at the time), but as we all know, PDFs are commonly ...
0
votes
0answers
26 views

GRUB not installed!

So I started installing ubuntu server on my MBR only usb through a cd. It was continuing nicely and as it started the process "Selecting and Installing Software". Soon My laptop immediately halted(...
0
votes
0answers
19 views

Chrooting users so they cant go out of their directory

I wanted to ask how I can make the chroot to work properly, I got Plesk 12 Web Pro installed, and its using psa-profptd, sure the plesk users themself, cant go outside their chroot directory, but when ...
0
votes
0answers
29 views

Upgrading to 14.0.4 LTS Chrooted Chromebook

I may be a little out of my depth here, but here it goes. In order to start learning some python coding I decided to start the process along by installing crouton on my Toshiba Chromebook 2 and ...
0
votes
0answers
144 views

How to install video drivers in LTSP chroot?

We have an HP t520 thin client with AMD G-Series/Radeon R2E embedded graphics. The AMD proprietary video driver solves a problem that the Ubuntu open-source video driver has with display detection. ...
0
votes
0answers
70 views

how to run Ubuntu touch on android in chroot mode?

i known Linux on Android can run ubuntu desktop in chroot but can i run Ubuntu touch in chroot mode with or without linux on android?
0
votes
0answers
20 views

What's involved in making a x86 program run on android chroot ubuntu

I'd like to get libfreenect running on embedded 12.04 ubuntu, in an android chroot jail. I know enough about debian to navigate the file system and identify devices and compile other people's code and ...
0
votes
0answers
186 views

Auto-Mount SD-card formatted as ext4 on ubuntu touch

I try to use an MicroSD card containing a chroot environment which I can break, e.g. by installing software, without damaging the OS on my bq Aquaris E4.5 Ubuntu Edition, however I can not let the ...
0
votes
0answers
49 views

Having troubles accessing/uninstalling Dropbox

I've spent hours trying to get this to work. I just want to uninstall Dropbox so I can freshly install it again. Using the top answer on How do I uninstall Dropbox? , this is what shows up for me. ...
0
votes
0answers
18 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
268 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
60 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
213 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
66 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
22 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
95 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 ...