Questions tagged [chroot]
a linux command to change the filesystem root a process can see, limiting it's access to the real filesystem root
348
questions
0
votes
1
answer
822
views
How to install Virtualbox kernel module in 16.04 LTSP chroot?
Been trying to install Virtualbox for fat clients on a 16.04 server but can't get the kernel module to show up.
I tried this:
sudo ltsp-chroot -c -p
apt-get update && apt-get install ...
3
votes
2
answers
9k
views
GUI applications and chroot
I have followed all of the instructions on this page to try and get a graphical program running from inside a chrooted environment
https://help.ubuntu.com/community/BasicChroot
The only difference ...
1
vote
2
answers
364
views
Trying to fix kernel regression through LiveUSB not working
I am running Ubuntu 16.04 LTS, but I haven't been able to run it any more since the latest update. I saw a related question where a user named @Fairglow called this problem a "kernel regression". ...
0
votes
2
answers
611
views
Deleted my /usr/ directory, recovered with chroot now getting a Segmentation fault (core dumped) trying to run Sudo
I have a problem that I've been trying to fix for the last few days. Each time I resolve an issue, a new one pops up.
Let me outline what has happened.
I foolishly deleted all sub dirs in the /usr ...
0
votes
1
answer
796
views
How to use Xephyr in Ubuntu OS customisation?
I customise ubuntu OS often and prefer cli method and build from scratch. I am currently getting it done in a hack method with some GUI. I know Xephyr is a display server and I 've used it once in ...
3
votes
1
answer
937
views
Help adapting Courier-authdaemon initscript
I could use help with adapting the standard courier-authdaemon initscript.
I run a small business server with postfix, courier, mariadb, amavisd-new with clamav and spamassassin and sasl. After the ...
1
vote
0
answers
607
views
How to move mysql.socket into postfix chroot
I want postfix to be able to talk to mysql, without letting it out of its chroot.
I guessed that moving the socket-file in to the chroot, should solve it, but that wasn't as easy.
If i try to update ...
0
votes
1
answer
3k
views
chroot - networking doesn't work for apt-get
I'm trying to set up chroot enviroment inside of Android (6.0). I (think) i set right groups and permissions and i have networking inside of my chroot, but for some reason apt-get is not able to ...
4
votes
1
answer
3k
views
how to disable window close using key combination <Alt>F4?
I am new here.
Recently I tried to create custom distribution which has a single application running all the time. (kiosk mode)
I would like to prevent unauthorized window closing from users.
I tried:
...
0
votes
0
answers
828
views
How to set up a writeable sftp chroot
I am setting up a file server in Ubuntu Server 16.04.
I've got 3 users (and 6 hard drives, 2 each in a RAID 1 config). These Raided drives are mounted to /mnt/username, which have been set as the ...
0
votes
0
answers
1k
views
Problem with Virtual Box on Xubuntu running under Android
First of all, I'm aware of this question and this one, and I don't believe this is a duplicate. I've encountered that problem (and solved it using those answers) on two different laptops. This problem,...
2
votes
0
answers
208
views
Alsa chroot java program doesn't find microphone
I made a chroot environment from an architecture i386. Now I installed ALSA on it (alsa-base, alsa-utils, asound2). I mounted the proc,sys and dev directory too.
Then I tested my microphone with the ...
3
votes
0
answers
118
views
Can I use i386 Ubuntu to install ARM software?
I have an Ubuntu machine, and I am trying to figure out how to modify a root filesystem that's eventually going to be on an embedded system running on an ARM processor. I have just a bare fs at the ...
11
votes
2
answers
26k
views
How to convert a iso9660 ISO to a USB ISO
I have an ISO of customized GCompris based on Ubuntu. It is intended to be burned on a CD (iso 9660 FS Type). When I try to burn it to a USB, the pendrive "becomes" a CD and it won't boot...
The guy ...
3
votes
0
answers
182
views
How to sandbox code in chroot for multiple users?
What am I trying to do?
I'm writing a code evaluator using chroot and python and went to hackerrank for some inspiration.
What I think is happening at Hackerrank?
Hackerrank creates run-...
1
vote
2
answers
7k
views
Ubuntu on "HP Chromebook 13 G1" with 3200x1800. Does crouton or native install work fine? [closed]
I searched for a low priced MacBook Air alternative with retina resolution and found HP Chromebook 13
At 12.95mm/.51in, the amazingly thin and light HP Chromebook 13
provides professionals a ...
2
votes
1
answer
307
views
How do I install missing manpages in a chroot running in Ubuntu Touch?
I am on the new Ubuntu tablet from bq, in a terminal, running in a chroot jail.
I have installed man-db, manpages, manpages-dev, and even ubuntu-docs.
But while man man works, or man gpp or other ...
3
votes
2
answers
6k
views
Cannot "sudo chroot" in ubuntu
In terminal when I try to sudo chroot . in home directory I get:
chroot: failed to run command ‘/bin/bash’: No such file or directory
When I try to sudo chroot . in external Sd card I get:
...
0
votes
1
answer
317
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 ...
1
vote
0
answers
318
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
1
answer
2k
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
https://support.rackspace.com/how-to/how-to-add-linux-user-with-document-root-...
0
votes
1
answer
2k
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
1
answer
2k
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
1
answer
81
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
1
answer
1k
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.
...
-1
votes
1
answer
919
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 I'...
4
votes
4
answers
4k
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
0
votes
1
answer
3k
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 http://mirrors.abscission.net/...
0
votes
1
answer
88
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 ...
1
vote
0
answers
351
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 ...
1
vote
1
answer
1k
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 ...
0
votes
1
answer
910
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...
...
1
vote
1
answer
579
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 ...
3
votes
1
answer
58
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
1
answer
1k
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
0
answers
939
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 ...
0
votes
1
answer
1k
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 ...
2
votes
1
answer
1k
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.
7
votes
5
answers
11k
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?
1
vote
1
answer
2k
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 ...
1
vote
1
answer
1k
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 ...
1
vote
0
answers
1k
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 /...
1
vote
1
answer
1k
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
1
answer
2k
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 ...
5
votes
0
answers
387
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% /...
3
votes
1
answer
454
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-...
1
vote
0
answers
106
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 ...
1
vote
1
answer
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 ->
/...
1
vote
0
answers
2k
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
0
answers
231
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)...