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
3k 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 ...
1
vote
0answers
22 views

Customized sources.list for custom live CD

I recently built myself a custom live CD of Xubuntu 14.04.1. This live CD is used to distribute to my customers to install on their machines with a set of pre-installed applications, some of which are ...
1
vote
0answers
17 views

How can I set vsftpd user-specific access?

I'm using vsftpd (on 14.04) and I want to set user-specific access: - admin has full access to home folder of all users - standard user (everyone from group "users") has permission only for his home ...
1
vote
2answers
24 views

chroot question

I am wondering if there is anyone out there that can explain an error that happens when I try to use debootstrap. sudo debootstrap --arch i386 wheezy /srv/chroot/wheezy http://http.debian.net/debian ...
-2
votes
0answers
40 views

No more working OS after failed update

The Goal is to recover my laptop, but primarly the files stored into it. As i need some files for work! So this is what happened, all fairly simple and there are too many topic here on ubuntu that ...
0
votes
0answers
19 views

Issuing in running apache2 in chroot environmet

I am trying to run the apache2 server from chroot environment following this link http://archive09.linux.com/feature/36331. The only difference is that I started the /usr/sbin/apache2 after getting ...
0
votes
0answers
42 views

Problem running Ubuntu on chromebook

A couple of days ago I bought a ChromeBook and decided to run Ubuntu on it. After a couple of hours on it, I went back on Chrome OS. I usually enter sudo startunity in the developpement console to ...
2
votes
0answers
64 views

Ubuntu for Android, Ubuntu for Devices, LinuxonAndroid project for Ubuntu on ARMv7 machine?

I've looked around but can't find any solid solutions or help on this topic. I recently ordered a machine with an ARMv7 CPU (Cortex A-9, <= 1.6GHz, quad core). The machine also has a Mali-400 ...
0
votes
0answers
30 views

Is it necessary to mount /dev/shm when chroot from Ubuntu Live CD?

Ubuntu is a Debian derivation. Debian squeeze (6.0.0) requires /dev/shm mounting for chroot. I do want to chroot to re-install grub. Does Ubuntu also require /dev/shm mounting for correct chrooting ...
4
votes
2answers
5k views

Chroot into a 32-bit version of Ubuntu from a 64-bit host

Xilinx webPack 10.1 requires 32-bit Linux. Only this old version is compatible with their boards. How to make 32-bit applications work on a 64-bit operating system lists: Installation of 32-bit ...
2
votes
2answers
372 views

How to install program from Live-CD chroot?

I am using Lubuntu 13.04. How can I install programs from a Live CD from chroot?
1
vote
2answers
1k views

using DNS lookup in chroot postfix

I'm trying to set up a postfix set up on my client machines. All machines should use a central ldap directory for common postfix (e.g. aliases, etc). But since postfix runs in chroot postfix is unable ...
1
vote
2answers
902 views

Replace XFCE4 with Cinnamon without Log-In Screen

I have a Google I/O Chrome Pixel that I've been playing around with Crouton. This is my frist real shot at Ubuntu and have made the upgrade from 12.04 -> 13.04. Using chroot I can run both Chrome OS ...
0
votes
0answers
34 views

LTSP installation step failed

Today I've tried installing an LTSP server on a virtual machine (host : Win 8 x64, virtualbox 4.3.6 r191406 as the newer versions have problems), I gave it an additional NIC as host only. Everything ...
1
vote
2answers
560 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 ...
0
votes
0answers
65 views

ubuntu 14.04 livecd chroot error

I wanted to try to reinstall grub2 for ubuntu 14.04: run 14.04 livecd mount the root partition and mount dev sys run proc: sudo mount /dev/sdc1 /mnt for d in dev sys run proc; do sudo mount -o ...
1
vote
0answers
324 views

How to get Juniper 7 (R4) working with Ubuntu 13.04 (64) on Chromebook (Crouton install)?

I've been trying to get my company's Juniper VPN to work on my Crouton install. I'm running Crouton on a C720 with Ubuntu 13.04. I was able to get past the JRE issue (Not able to connect to Juniper ...
0
votes
0answers
38 views

All SFTP chroot access is read only?

These are the pertinent lines from my /etc/ssh/sshd_config Subsystem sftp internal-sftp Match Group sftp X11Forwarding no AllowTcpForwarding no ChrootDirectory %h ForceCommand internalsftp ...
14
votes
3answers
3k 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 ...
1
vote
3answers
65 views

How to enter a chroot without using sudo?

Is it possible to enter a chroot without using sudo? If so, how? I've tried googling, but all I get are results about crouton.
0
votes
0answers
32 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 ...
20
votes
4answers
26k 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
231 views

Having an issue with Ubuntu on my Samsung Chromebook?

Ok so first off I had this running pretty slick before my fiance touched it. Booted it back to regular mode. So i have to go back through and turn developer mode on, and reinstall crouton and all ...
0
votes
0answers
32 views

Tightvnc Server - How to [Minimal CPU/Latency] for basic apps over 802.11n direct

Greetings fellow tinkers, and people who... "fix" things... Right then!So I have a Nexus 5 in a chrooted Ubuntu 14.04 that I want to export the display from to a 10 inch tablet via wifi - And before ...
0
votes
0answers
15 views

Is there a guide step by step to use old libraries within a new system or new libraries with a old system for debootstrap or chroot?

The response in here How to run HipHop with an old libc6 (not solved) and libc.so.6: version `GLIBC_2.16' not found was so short (for me, I am mid level linux user, not pro, because I don't know ...
2
votes
6answers
822 views

What exactly is a chroot? Is it similar to a simultaneous dual boot?

It has been suggested to me that the use of a chroot might solve my problem of building an application that must run on an embedded device. I have inferred from this description that it is somehow ...
1
vote
2answers
280 views

Peculiar permissions/group trouble [closed]

I've tried creating a separate user account for rtorrent and sickbeard (a torrent downloader) so everything isn't running as root but I've bitten off more than I can chew. I've chmodded 2770 (setgid, ...
1
vote
1answer
89 views

How to resolve hostnames in chroot?

I try to repair an broken Ubunu 14.04 with chroot. What I did, is to boot Ubuntu from USB mounted the original system that has to be repaired and changed to this system with chroot: sudo mount ...
1
vote
0answers
233 views

How do I chroot an SSH user to their home directory?

I don't want to use jailkit. My OS is Ubuntu 14.04. I am setting up a user account on my server for a kid I tutor, so he can run a minecraft server. He will be using putty to ssh into my server, and I ...
1
vote
1answer
147 views

wget inside chroot - cannot verify certificate?

I'm trying to install some packages into a chroot and when getting the key I get these errors: root@devpc:/# wget -O- 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc' ...
0
votes
0answers
77 views

How to chroot [Android] on top of [Ubuntu]

I know I can run ubuntu on android: With a Chroot (Linux installer, etc from market) but how does one run android chroot under ubuntu?
0
votes
1answer
70 views

Chroot with specific kernel

I need to build some old drivers with specific kernel version. The Kernel 2.6.31-20-generic is needed. I have tried to built it on Ubuntu 12.04 and the new one, 14.04 with no success. The only one ...
1
vote
0answers
399 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 ...
2
votes
0answers
96 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 ...
1
vote
1answer
1k views

How to setup SFTP with Chrooted for Groups

After many trials and errors trying to setup a working sftp server for multiple groups with chrooted directory I decided to share what finally worked for me. I am a novice 2 months into Ubuntu so ...
0
votes
0answers
26 views

Unsuccesful upgrade from 13.10 to 14 64bit

I had unsuccessful upgrade to kubuntu 14, unfortunatly. I does this steps: sudo mkdir -p /media/ubuntu sudo mount /dev/sda1 /media/ubuntu sudo mount --bind /dev /media/ubuntu/dev sudo mount --bind ...
0
votes
1answer
386 views

Chromebook crouton installation continually failing

I have a Samsung ARM (Series 3) chromebook. Following the tutorials online to download Ubuntu via crouton, and each of the three times I have tried, I get this error before the installation ...
0
votes
0answers
194 views

ubuntu upgrade rescue meet the udev problem, help

Thank adevance, please help me out! I upgrade from 13.10 to 14.04, but there is problems occured, so I rescued through KNOPPIX livecd. Just now the problem is: when i tried in chroot enviroment : ...
0
votes
0answers
400 views

vsftpd giving 500 OOPS: vsftpd: refusing to run with writable root inside chroot() even though the root is not writable

I have a user - ftpuser - whom I want to chroot to his home directory. I set the .conf file, created the user, and set his home directory to read only: $ cat /etc/passwd ...
1
vote
0answers
25 views

Create Jailed Users Using Programing Language

I want to create limited users in my system able to use only few commands. I read this question and jailkit is awesome and do what I want, except one thing creating the users dynamically (via ...
0
votes
0answers
94 views

ARM chromebook crouton xfce precise. one too many desktops

Running crouton xfce precise on ARM chromebook. I seem to have set up 2 chroots. when using the ctrl/alt/shift/back key combo I cycle through chrome desktop, then 2 xfce/ubuntu desktops. the one i ...
0
votes
0answers
129 views

Need help with sending audio from Ubuntu inside Linuxonandroid to Android

I understand that this is not entirely a Ubuntu question but it's pretty darn near:). I'm asking this question here since the linuxonandroid community is too small to get this solved within this ...
3
votes
2answers
8k views

Need ProFTPd to follow symbolic link

I have 2 folder: /var/www/project1/ /var/www/repository/module/ and I have this symbolic link: /var/www/project1/module/News => /var/www/repository/module/News I know the target is outside the ...
0
votes
1answer
34 views

uptart and gnokii and chroot

I try to run this upstart script. # description "" author "" start on runlevel [2345] stop on runlevel [!2345] #chroot /home/ubuntu/ respawn respawn limit 1 1 exec sudo smsd -u ...
0
votes
1answer
311 views

Provide an Xserver To Chroot

Description: I'm using a Lubuntu 13.10 X86-64 livecd to chroot into another Lubuntu 13.10 X86-64 located on my hard drive in a folder called chroot. I've had no trouble using the terminal to chroot ...
4
votes
1answer
2k views

Is there an easier way to chroot than bind-mounting?

Most of the time I use the chroot to rescue an existing installation from usb. When I chroot into another system I have to manually bind-mount proc, sys, dev and dev/pts by issuing for example: ...
2
votes
1answer
231 views

How to replace /lib/modules in chroot?

I have mounted my system where my modules were accidentally deleted, ALL of them, all of the OLD ones, and the most recent ones 3.2.41. I have mounted my system and I'm chroot and I don't know what to ...
36
votes
2answers
71k 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 ...
10
votes
2answers
43k 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 ...
1
vote
1answer
121 views

postfix doesn't authenticate through /var/spool/postfix/var/run/saslauthd

I have a problem with postfix. I followed all description from https://help.ubuntu.com/community/Postfix. And it worked perfect except smtp authentication. I've suffered that mail.log always told ...