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
0answers
12 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 ...
0
votes
0answers
12 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
59 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
17 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
93 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 ...
0
votes
0answers
63 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
28 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 ...
-1
votes
0answers
32 views

Error Creating Click Target armf/15.04

On Ubuntu-SDK, when i try and create a click target for armfh on Ubuntu 15.04, i get the below error. I am on Ubuntu 16.04 LTS release. Any help will be appreciated. E: 10mount: mount: /dev/sdb7 is ...
0
votes
0answers
18 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
68 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 ...
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
0answers
17 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
28 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
25 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 ...
5
votes
1answer
8k 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
28 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
150 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
261 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
114 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
57 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
27 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 ...
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 ...
13
votes
5answers
71k 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
98 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 ...
0
votes
0answers
147 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 ...
2
votes
5answers
4k 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
356 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
73k 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
447 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
267 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
46 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
83 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
135 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 ...
1
vote
1answer
165 views

How can I install node.js?

I have a chromebook with a Precise Ubuntu chroot on it. I can't figure out how to install the current node.js from the tarball, because ./install make sudo make install doesn't work.
0
votes
1answer
92 views

cannot access ubuntu after restart chromebook [closed]

I downloaded Ubuntu on my Samsung Chromebook 2, and I really enjoy it! I shut down my Chromebook, and I tried the command Alt + Ctrl + Forward like I did before I shut it off, and It did not work. I ...
0
votes
0answers
56 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 ...
2
votes
1answer
285 views

Live-Build lb build “chroot: failed to run command ‘/usr/bin/env’: No such file or directory”

I have a problem with live build $ sudo lb build --interactive shell returns with chroot: failed to run command ‘/usr/bin/env’: No such file or directory does anyone know what is happening?
0
votes
1answer
183 views

debootstrap nested in the LXC container fails to mount proc because of apparmor

The command that is run inside an amd64 LXC container: debootstrap --arch armhf --foreign --variant=buildd --components=main,restricted,universe,multiverse vivid /var/lib/schroot/chroots/vivid-armhf ...
0
votes
1answer
115 views

How to confine WINE apps using a chroot jail?

I have read the SecuringWine page on WINE official website, and one of the things it says you can do to increase security is: One can run wine inside a chroot jail. So what exactly is a "chroot ...