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
10 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
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 ...
3
votes
2answers
418 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 ...
14
votes
4answers
67k 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 and then executed the following commands on the user's ...
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 ...
1
vote
1answer
32 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
76 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 ...
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 ...
3
votes
1answer
35 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
29 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
54 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
79 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
49 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
34 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
95 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
76 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
45 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
103 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
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 ...
0
votes
1answer
67 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
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 ...
1
vote
1answer
200 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
336 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
98 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 ...
0
votes
0answers
20 views

How do I dual boot my phone to Ubuntu without bricking my phone? [duplicate]

I want to dual-boot my HTC M9 so I can run Ubuntu without rooting the handset. How can I do so safely?
0
votes
1answer
117 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 command ...
1
vote
3answers
305 views

How do I create a local repository accessible from a local chroot environment for O/S building?

I am interested in building my own custom Ubuntu remix, and have been doing so with the Ubuntu Mini Remix ISO. To do this, I mount the disk image and chroot into it, in a manner similar to this ...
2
votes
0answers
43 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% ...
0
votes
0answers
46 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
49 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 ...
2
votes
2answers
373 views

Ubuntu SDK - chroot errors creating a device kit

No problem in installing the Ubuntu SDK, but when I try to create a device kit this is what happens: ... ... Processing triggers for ca-certificates (20141019) ... Updating certificates in ...
2
votes
1answer
169 views

Problems creating click chroot for 14.10 [closed]

I'm running 15.04 - trying to create a click chroot for 14.10 armhf: works with 14.04, 15.04 but fails with 14.10. Is 14.10 removed? outpout as follows: rp@rp-XPS:~$ click framework list ...
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-- ...
1
vote
2answers
509 views

14.10 apt-get unable to locate package libopenal-dev in chroot

I'm trying to develop Torque2D on a 32-bit chroot, as there's no 64-bit version as of yet, and it requires libopenal-dev, among other packages to compile properly. I've tried compiling it without it ...
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 ...
28
votes
4answers
42k views

Simple & easy way to jail users

I need a simple and easy way to jail users in their home directories in Oneiric. Do you have a simple configuration for jailing users, with full help, or some good web links? I would be offering an ...
0
votes
0answers
153 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 ...
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 ...
71
votes
3answers
133k views

How can I chroot sftp-only SSH users into their homes?

I want to give a client access to my server, but I want to limit those users to their home directories. I will bind-mount in any files I want them to be able to see. I've created a user called bob ...
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 ...
26
votes
3answers
8k views

What does “${debian_chroot:+($debian_chroot)}” do in my terminal prompt?

In my terminal prompt definition in my .bashrc file, among other things, I have this snippet of code: ${debian_chroot:+($debian_chroot)} What does this do, and do I need it?
-1
votes
1answer
113 views

bash: ${debian_chroot!-}: bad substitution

So I'm learning how to shell script and i got this error. Every thing I've read on the other posts makes it seem like a directory file path like most terminal commands have stashed away. My version of ...
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
1answer
637 views

Need help installing VirtualBox on ubuntu 12.04

I am running on chroot and the log file reads : Uninstalling modules from DKMS Attempting to install using DKMS Creating symlink /var/lib/dkms/vboxhost/5.0.2/source -> ...
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
1answer
100 views

Create a really clean and safe chroot environment in ubuntu

I want to doing some experiment to a linux system. I read about chrooting and debootsrap, it's said that it's needed to do binding mount to proc and dev so the chroot environment will fully work ...
1
vote
0answers
98 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
2answers
3k views

ARM ubuntu fails to get certain packages

I have ARM ubuntu running under a chroot and everything seems to be set up and working well, however when I go to install certain packages I end up with failing to fetch errors, this does not happen ...