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

0
votes
1answer
22 views

How to convert a iso9660 ISO to a USB ISO

I have an ISO of customized GCompris based on Ubuntu. It is intended to be burned on a CD (iso 9660 FS Type). When I try to burn it to a USB, the pendrive "becomes" a CD and it won't boot... The guy ...
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-...
0
votes
3answers
111 views

Ubuntu on “HP Chromebook 13 G1” with 3200x1800. Does crouton or native install work fine? [closed]

I searched for a low priced MacBook Air alternative with retina resolution and found HP Chromebook 13 At 12.95mm/.51in, the amazingly thin and light HP Chromebook 13 provides professionals a ...
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 ...
16
votes
5answers
6k views

How do I stop all processes in a chroot?

I have a number of LVM partitions, each containing an Ubuntu installation. Occasionally, I want to do an apt-get dist-upgrade, to update an installation to the most recent packages. I do this with ...
1
vote
1answer
4k views

Network Manager missing after update: no connectivity

After an update and restart, I found that the network icon on the top is missing and so, I cannot connect to LAN, wifi, USB modem, nothing. Now, I am booting from a Live USB, then chrooted to my ...
0
votes
1answer
27 views

How do I install missing manpages in a chroot running in Ubuntu Touch?

I am on the new Ubuntu tablet from bq, in a terminal, running in a chroot jail. I have installed man-db, manpages, manpages-dev, and even ubuntu-docs. But while man man works, or man gpp or other ...
1
vote
2answers
2k 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 ...
3
votes
2answers
83 views

Cannot “sudo chroot” in ubuntu

In terminal when I try to sudo chroot . in home directory I get: chroot: failed to run command ‘/bin/bash’: No such file or directory When I try to sudo chroot . in external Sd card I get: ...
-1
votes
0answers
14 views

Ubuntu fails to install on chroot

Trying to reinstall ubuntu on my hp 14 chromebook and keep getting the same error when running sh command it says " /usr/local/chroots/precise is not a ext filesystem " ....any help is appreciated.....
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 ...
1
vote
1answer
2k views

Use apt-get in chroot directory

I am currently in need of using apt-get on a chroot directory. The setup is the following. I have a chroot setup with schroot. This chroot environment needs to be stripped down as much as possible. ...
0
votes
1answer
101 views

Ubuntu-touch 15.10: Installing x11apps without breaking anything

So, I have a BQ M10 tablet and would love to install some x11 legacy apps. The two options I have come across are to do so using chroot or libertine containers. However on 15.10 it seems that it's ...
0
votes
0answers
27 views

Adding SSH to new user: Jailed (chrooted) SFTP user can authenticate, but is immediately exited [duplicate]

I'm having trouble creating a new user with some key permissions. I want this new user to do the following with "everything else" locked down: SSH tunnel to port 5432 (postgres) SFTP jailed to the ...
0
votes
1answer
108 views

Getting a `Permission denied` error from mount when trying to chroot to Arch Linux

I'm trying to chroot to Arch Linux on my 64-bit Ubuntu box by following the instructions listed here. Here are the steps I've taken so far: $ curl -sSLo archlinux.tar.gz http://mirrors.abscission.net/...
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 ...
1
vote
1answer
39 views

Error conection ssh after jail user of ssh-sftp

What I want to: I want to create a user to access to /var/www/laravel I create a user demo, I followed this tutorial https://support.rackspace.com/how-to/how-to-add-linux-user-with-document-root-...
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
1answer
80 views

Auto run GUI application on startup

I've set up an Ubuntu chroot on my NAS (a Synology DS214play) to run JDownloader 2. I've installed vnc4server and set it up to run on NAS startup and it works smoothly. I've installed LXDE which ...
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 ...
1
vote
1answer
28 views

Connection abort when trying to log in to chroot jailed account via sftp

I'm trying to make a user kake_sftp that can log in to the web server located at /var/www/html or similar. I know chroot needs some additional subdirectiories for the permissions to work out, so I'm ...
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(...
5
votes
1answer
9k views

Limit SFTP user access to specified directory

I have a Ubuntu 14.04 server installed with open ssh. I'd like to configure sftp for customers to be able to download files only. In other words, I put files in a directory that they are jailed to. ...
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
1answer
153 views

Ubuntu on chromebook issue (updated ubuntu now facing problem with sudo startunity)

I updated my Ubuntu on Chromebook. Now I am unable to load it though crouton. As suggested in some posts I tried to update my crouton 'precise'. But still I am facing the same problem. When I use ...
0
votes
1answer
265 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
1answer
23 views

boot from live dvd continue using usb

I've got a bit of a weird problem. I need to get a live version of ubuntu running but the bios hangs/crashes when a bootable usb drive is present in the usb (3.0) drive. I can boot using a linux live ...
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
69 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?
5
votes
4answers
2k views

Does Chroot'ing onto a Ubuntu Machine Give You Root?

If you were to use a Ubuntu live USB, and do the commands below. Is this literally just giving you root access to the drive? sudo mount /dev/sda1 /mnt sudo chroot /mnt
-1
votes
1answer
32 views

Live USB and Windows - Using Chroot

On Linux you can use the commands below on a Ubuntu live USB to get root access onto the hard drive. Does anyone know if this method works for a Windows hard drive? My guess is that it should, but I'...
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 ...
14
votes
5answers
72k views

During a chroot attempt, I got this error: “chroot: failed to run command '/bin/bash': Exec format error”

I was following the instructions of this tutorial HOWTO: Purge and Reinstall Grub 2 from the Live CD, when I encountered an error at step 1, as I launched the command sudo chroot /mnt/temp The ...
0
votes
1answer
16 views

Trying to set up a chroot environment

I do the steps of this guide : http://linoxide.com/ubuntu-how-to/configure-chroot-environment-ubuntu-14-04/ And at Now, we're going to need to mount these filesystems within our guest: $ sudo ...
2
votes
1answer
11k 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
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 ...
2
votes
5answers
5k views

scripting chroot, how to?

So I'm looking at: https://help.ubuntu.com/community/LiveCDCustomizationFromScratch and trying the following within a bash script: sudo chroot chroot mount none -t proc /proc mount none -t sysfs /...
0
votes
1answer
403 views

Ubuntu SDK cannot install armhf kit

I tried to use the Kit Autocreator in the Devices tab, but the click ends with the following error: Reading package lists... Building dependency tree... Reading state information... ...
16
votes
4answers
75k views

How to setup a SFTP server with users chrooted in their home directories?

I have been trying to set up a SFTP server with multiple users chrooting into their home directories. I followed the advice on this guide (Archive.org link) and then executed the following commands on ...
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 ...
3
votes
2answers
458 views

ssh-agent not accessible within a schroot

I'm using an schroot to do some builds of deployment packages, and there's a lot of to and fro between the host and the schroot environments. Within the schroot the ssh-agent doesn't seem to be ...
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 ...
1
vote
1answer
49 views

Tweaking inside a chroot environment

It's me again. I am creating an Ubuntu-based distribution by remastering 14.04's ISO (not with remastersys or any similar tool). I have all of my programs set up, including my default desktop ...
1
vote
1answer
84 views

Ubuntu 14.10 won't boot after a drive sector was destroyed [closed]

Yesterday, when I was working with my Ubuntu 14.10 (x64) and wanted to save an attachment from an e-mail in Thunderbird, there was a dialog saying that the file could not be written to the /tmp ...
3
votes
1answer
36 views

Help me on my Ubuntu-based distribution

I have everything set up for making my own Ubuntu-based distribution (custom desktop environment, wallpapers, themes, software, logos). Here's what I have done so far: I got a 14.04 ISO, ...
0
votes
1answer
107 views

I need a chroot user to now have ssh public key access

I have previously setup a chroot to lock sftp users to their home directory only. So I have this in sshd_config Match User theuser ChrootDirectory /home/theuser AllowTCPForwarding no ...
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 ...