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

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
87 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 ...
0
votes
1answer
98 views

'/bin/bash': no such file or Directory

I have been following these instruction on how to create a live CD of my current ubuntu 14.04 installation. When i try to runsudo chroot ${WORK}/rootfs /bin/bash where WORK=/some/dir/that/REALLY/exist ...
0
votes
1answer
42 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
19 views

in sshd_config file sftp chroot shows sftp/%u?

Please help to get this configuration understandable # override default of no subsystems Subsystem sftp internal-sftp Match Group sftpusers ChrootDirectory /sftp/%u ForceCommand ...
0
votes
0answers
33 views

Can't boot into ubuntu

I have a lenovo n20p with Ubuntu installed , I was using linux just fine I managed to install wine, I then turned of my laptop and then back on and when I ran sudo startunity it didn't work. I got ...
7
votes
2answers
2k views

debootstrap failing to mount /proc

I have researched this, and none of the answers (so far) on here, nor googling seem to match my problem. Here is the situation: I am running Xubuntu 12.04 as a base install, and am trying to set up ...
2
votes
0answers
1k 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 ...
0
votes
1answer
137 views

How do I make a chroot clone of my [current setup] like after a fresh install

Where I am... I know that I debootstrap trusty /chroot-dir and then I... mount --bind /dev /chroot-dir/dev && mount --bind /proc /chroot-dir/proc and then cat ...
3
votes
3answers
1k views

Video driver under lxc container?

Since LXC (Linux Containers) is a kernel level super-chroot, I've been wondering what sort of video driver the containers have: My host is Ubuntu 12.04 64-bit machine with ATI gpu. Will the LXC ...
23
votes
4answers
35k 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 ...
1
vote
0answers
58 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). ...
0
votes
0answers
71 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
0answers
31 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 ...
0
votes
1answer
53 views

Remove non-listed click target

I want to write an app for Ubuntu Touch and test it on my Aquaris BQ 4.5 Ubuntu Edition. I failed big time setting it up though and now ended up having no according click target: When I go to the ...
0
votes
0answers
17 views

Makeing programs from old Ubuntu in other partition available to new Ubuntu through chroot

I have Ubuntu 12.04 and Ubuntu 14.04 installed on my system. Now i want to access programs installed on my Ubuntu 12.04 from Ubuntu 14.04. I believe such thing is possible with "chroot" command, and i ...
0
votes
0answers
31 views

Why is install failing?

Reinstalling Ubuntu on an Acer Chromebook all looks well until at the bitter end I get these lines: "Compiling CRAS (I386)... tests/cras_test_client.c:21:26: fatal error: cras_version.h:No such ...
2
votes
1answer
195 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. ...
1
vote
2answers
247 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 ...
1
vote
0answers
70 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 ...
0
votes
1answer
477 views

Upgrade from Ubuntu 12.04 to 14.04 gives black screen and x cursor on startup

I have a Dell 11 chromebook on which I downloaded crouton, and through that, ubuntu 12.04. 12.04 was working perfectly well until I got a message from the update manager asking me to update to trusty ...
0
votes
0answers
29 views

GLIBC version not found when compiling inside a chroot

I am trying to port the build from CentOS to a Ubuntu machine running trusty in 64 bits. Compiling under 64 bits trusty yield an issue with assembly code compilation, so I compiled using chroot of 32 ...
2
votes
1answer
179 views

removing chroot done by ubuntu touch sdk

How do I remove all the chroot the Ubuntu touch SDK has made? I can't find anything in the app. When I do a mount from a terminal, I get this : click-ubuntu-sdk-15.04-i386 on ...
2
votes
1answer
38 views

How do I install ChominumOS and run it as a seperate X Session?

I'm exploring different options on how to install ChromniumOS on my desktop (x86_64) PC which is currently running Ubuntu 14.10. I tried the following methods first: Duel Booting the two, but ...
1
vote
1answer
288 views

after chroot: apt-get update (Err and Failed to fetch - BootableFlashFromHarddiskInstall)

I'm following BootableFlashFromHarddiskInstall tutorial for making a live CD from my current Ubuntu installation. Ubuntu 14.04 on VirtualBox. I checked internet connection of virtual machine as ...
1
vote
0answers
646 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
1answer
194 views

KDE doesn't start up on Acer c720

My KDE is not starting after using the command sudo startkde I use it all the time and now is not working... Here is the output chronos@localhost / $ sudo startkde Entering ...
0
votes
0answers
91 views

Setting up basic chroot environment from a fedora ISO image in Ubuntu

From a tutorial in https://help.ubuntu.com/community/DebootstrapChroot at TLDR section i was able to set up a chroot environment for 32 bit Ubuntu ISO image under 64 bit Ubuntu. Now i neet to do the ...
0
votes
0answers
43 views

User doesn't get gksu dialog so apps just fail

I am using Ubuntu with Xfce on Android in a chroot (via Linux Deploy). When I try to run some software that requires admin/root access the GUI does not prompt me for the admin password like it does ...
0
votes
1answer
128 views

Install ubuntu server edition into a chroot

Using a chroot with debootstrap you can install, for example, Ubuntu 14.04 with sudo debootstrap trusty /var/chroot/trusty http://archive.ubuntu.com/ubuntu This will, as I understand, install a ...
0
votes
0answers
43 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 ...
0
votes
0answers
71 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 ...
0
votes
0answers
30 views

Is it possible to hot switch between several linux distributions?

I've installed crouton on my chromebook, and I was thinking that it should be possible to make the same thing with my ubuntu desktop. I do not want dual boot, or a virtual system, but several systems ...
0
votes
1answer
43 views

Cannot access portable disk from (s)chroot jail

I want to access the files in my portable hard disk, so I bind-mount the /media directory to the schroot jail by adding a line /media /media none rw,bind 0 0 to ...
1
vote
1answer
50 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
votes
1answer
179 views

Jailkit freezing

I'm trying to jail ssh users on my Ubuntu 14.04 server. So after installing Jailkit version 2.17 (with the help of this tutorial) I'm now trying to follow this AskUbuntu answer to use Jailkit. After ...
0
votes
2answers
108 views

how can I confine terminal in a directory as in chroot?

I want to set a particular directory as top directory temporarily. Let's say I open terminal in /home/me/mychroot how can set mychroot directory as top directory for that terminal?
0
votes
2answers
430 views

Installing Apache Cordova, unable to locate package

Got Cordova installed and able to make an app. I have to run sudo click chroot -a armhf -f ubuntu-sdk-14.10 create to install the Ubuntu SDK, so I can later build to Ubuntu. When I run the command, I ...
46
votes
2answers
104k 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
34 views

How to set up apt-get ssh transport with chroot

I want to set up a private APT repository that is only accessible by a shared public key, via the ssh transport. The only problem is, this also gives ssh access to the machine. I would therefore like ...
0
votes
0answers
35 views

How do I know if I'm in a jail, container, snapshot, etc. environment?

I received a machine (Ubuntu 12.04 server) from a coworker when he left the company. I created my own user as sudo/admin and used the machine for months. After rebooting for the first time since I was ...
1
vote
3answers
209 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
1answer
336 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 ...
16
votes
4answers
5k 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 ...
0
votes
4answers
1k 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 ...
12
votes
4answers
56k 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
0answers
12 views

Jailing particular users on login

This whole deal with jails and chroot is a bit confusing to me. They are used to run possibly risky programs securely, but this has to be initiated by the user. I'm looking for how to jail users like ...
0
votes
0answers
244 views

Change chrooted sftp user default directory

I am using Ubuntu Server 14.04.1 LTS running openssh. I have set up sftp chroot for several users by editing sshd_config like below: add: Subsystem sftp internal-sftp Match Group sftp_users ...
0
votes
0answers
105 views

Strange boot problem in Server 14.10

This is on Ubuntu Server 14.10. I am setting up a user that is chrooted to its own home directory through SFTP, but I need the user to be able to access/edit a subdomain of my website at ...
0
votes
0answers
114 views

How to SFTP Jail (chroot) with Active Directory authentication

I am try to set up SFTP with Ubuntu 14.04 using chroot with AD authentication restricting by Group as well as having a public area for users. I already have samba, winbind and kerberos setup as a ...