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
7 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
24 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
21 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
22 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
7k 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
27 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
142 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
0answers
30 views

Switching from unity to gnome on crouton

Hey guys just a simple question, is there a way to switch from unity to gnome (Preferably the newest version) on crouton. I'd like to delete unity to save space since i only have 16gb. And by the way ...
0
votes
1answer
251 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 ...
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
19 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
74 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
41 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
1k 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
25 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
70 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
18 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
70k 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
15 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
10k 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
79 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
84 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
252 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
72k 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
46 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
440 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
262 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
45 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
81 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
62 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
117 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
148 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
78 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
53 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
243 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
137 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
94 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 ...
0
votes
0answers
187 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 ...
1
vote
0answers
60 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 ...
0
votes
1answer
137 views

Set up persistent custom resolution

I'm using a chromebook Pixel 2, with a 2560x1700 (3:2) display. My goal is to use a smaller 3:2 resolution. For a while now, I've been using a few commands to reset the resolution on my Chroot of ...
0
votes
0answers
57 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
20 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
68 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 ...
1
vote
1answer
310 views

How to run apache2 in chroot jail setup

Ubuntu 14.04 I was trying to setup apache in chroot,but i can't found any related answer. I was googling over a week but i can't get my answers so some one please help me..... Thanks in ...
4
votes
1answer
407 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
1answer
185 views

Trying to start CUPS service on a Chromebook running Ubuntu 14.04 via crouton

Some background: I'm trying to set up CUPS on my Chromebook running Ubuntu 14.04 via crouton. I've downloaded and installed the necessary files and I am trying to get the CUPS service running. I have ...