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

3
votes
0answers
93 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
67 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
104 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 ...
3
votes
1answer
257 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 ubuntu-sdk-...
0
votes
0answers
160 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-- https://chromium....
0
votes
0answers
31 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 ...
1
vote
0answers
51 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 ...
0
votes
0answers
50 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 ...
1
vote
1answer
1k 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
47 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.. ...
1
vote
0answers
87 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
0answers
138 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: (precise)...
0
votes
0answers
227 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 ...
0
votes
1answer
149 views

Problem upgrading a chroot for FAT Clients (ltsp, edubuntu, and 14.04)

I have an edubuntu server. After I got the fat client image built, I followed the instructions on https://help.ubuntu.com/community/UbuntuLTSP/ThinClientHowtoNAT so that the clients could have access ...
1
vote
0answers
71 views

ProFTPD - set a group manager to access all users files in the group tree

I am currently developing a client application with pyqt and ftplib to help backup/restore file to/from a ProFTPD server. The company is divided into many agencies and every agency is a ftp group with ...
0
votes
1answer
343 views

Can't open Ubuntu from Chromebook

I use Ubuntu XFCE4 and I just upgraded to 14.04. So I rebooted my computer like it asked and when I tried to boot into Ubuntu, it came up with the usual message about an error and that it closed ...
-1
votes
1answer
194 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 ...
0
votes
0answers
271 views

MythTV backend on a Synology

Is it possible to run a MythTV backend on a Synology NAS DS214+? My thoughts: if you use an external tuner (USB tuner, like Anysee or network tuner like the HD Homerun), processor power and memory is ...
0
votes
0answers
169 views

How do I generate a GRUB configuration file for another disk?

Assume I have two disks that both have Ubuntu installed on them. One is an internal drive and the other is an external drive (though this doesn't really matter). This procedure is running on the ...
1
vote
1answer
370 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 ...
0
votes
0answers
35 views

How to confirm chroot install

Ubuntu 14.04 installed and I believe I've created my 32 bit chroot. How can I confirm it and what to do to launch? I was instructed to run this command: sudo chroot --userspec=jakman NEWROOT I'm ...
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
3k 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
128 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 ...
2
votes
0answers
282 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
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 ...
1
vote
0answers
123 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 ...
4
votes
1answer
231 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 ...
2
votes
2answers
501 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 /etc/...
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. ...
1
vote
0answers
145 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 ...
3
votes
1answer
624 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 /var/lib/schroot/mount/...
2
votes
1answer
79 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
2k 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 ...
0
votes
1answer
514 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 /mnt/stateful_partition/...
0
votes
1answer
135 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
1answer
773 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
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 ...
1
vote
2answers
663 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
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 ...
0
votes
2answers
928 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 ...
0
votes
1answer
79 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 ...
0
votes
2answers
168 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?
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 /...
1
vote
3answers
366 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 guide....
1
vote
1answer
65 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 ...
1
vote
0answers
77 views

How do I Resolve a dependency issue with Ubuntu SDK, chroot, CMakelists, and the Emulator?

I am trying to build lp:ubuntu-filemanager-app on the ubuntu sdk for running on the emulator. The libraries I need are installed on my system, and in the phablet-shell. I can run the application in ...
1
vote
1answer
2k views

How to migrate from ext4 to zfs root filesystem with separate ext4 boot partition?

I'm trying to change my root partition from ext4 to zfs (simple partition, without ZFS volume management functions) by moving all files in a live system (Ubtunu 14.04) from the ext4 partition to an ...
0
votes
1answer
754 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
1answer
223 views

debootstrap does not extract libc6, does not create /sbin/ldconfig

I am using dbootstrap to create a chroot root file system (Ubuntu 14.04), so that I can use it later to image another machine. I specify all the necessary packages, and debootstrap seems to retrieve, ...