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
221 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 ...
0
votes
1answer
44 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
653 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 ...
1
vote
1answer
184 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 ...
0
votes
1answer
21 views

installing ubuntu base system in home folder as non-root

I don't have root acess to a server which is running centos. I need a minimal ubuntu chroot environment in my $HOME . (just the apt-get, repositories etc to install packages and run them in terminal. ...
0
votes
0answers
88 views

chroot to repair grub gives corrupted shared libraries

I'm currently trying to repair a system that's stuck at the grub rescue> prompt. It seems like grub needs to be reinstalled, so I'm following some prior threads to get there. Trying to chroot into ...
0
votes
1answer
649 views

Ubuntu fails to complete chroot setup during installation, how do I resolve this? [duplicate]

I am trying to download Ubuntu using crouton but I keep getting the same error message: Errors were encountered while processing: /var/cache/apt/archives/smbclient_2%3a3.6.3-2ubuntu2.9_amd64.deb ...
1
vote
2answers
822 views

Cannot access LAN in chroot

I have a Ubuntu 12.04 x32 running in a Chroot environment (using Crouton) on my Chromebook. It runs perfectly, and can access the internet. However, it cannot access computers on the local network (it ...
0
votes
1answer
74 views

ARM Chroot installing xfce fails, packages named different

I am trying to install xfce within an ARM chroot, most packages download fine however a handful error out, after looking at the packages in the repo I have found that what apt-get is trying to get ...
1
vote
2answers
1k 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 ...
2
votes
1answer
105 views

SFTP chroot configuration error

Can anyone see what I have done wrong in this procedure? I can connect to the server as the new user and am in the chrooted directory, but despite setting all the proper root permissions, I cannot add ...
3
votes
0answers
333 views

Cannot install into target mounted with noexec or nodev while doing qemu-deboot strapping

I'm trying to install the armel version of Ubuntu with qemu-deboot-strap on my desktop X64 system,but I've found this error : $ mkdir precise $ sudo qemu-debootstrap --arch=armel precise ./precise/ ...
2
votes
1answer
2k views

How to configure SFTP to login in the “/” directory?

I want to login as root and make the / as the default directory in SFTP. Newbie help needed
0
votes
1answer
137 views

Sandbox way for linux [closed]

I wonder if there is a kind of a sandboxing solution for linux: when I want to try a software without installing it I get all the .deb files and extract then somewhere, then I do two things: export ...
1
vote
0answers
445 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
1answer
19 views

Restricting certain actions in a directory

So i have a web project, its a website that gives certain problems and the users try to find a solution using the C language, the compiling process is done by PHP, what i want to know is how can i ...
0
votes
0answers
69 views

What is required to enable outbound connections from a chroot jail?

I have Apache2 running in a chroot jail, using the Apache config option 'ChrootDir /chroot', The OS is Ubuntu Pangolin 12.04. The jail ('chroot' dir) is manually built, with a minimal set of files, ...
1
vote
0answers
300 views

Copying files into custom uck chroot environment

I have been trying to setup a custom Ubuntu 13.10 ISO, containing programs and utilitiess that are beyond what is installed by default. I am initially using uck and finally got it working for me, ...
1
vote
0answers
91 views

Chrooting to a mounted USB Stick using SFTP

I would like to use SFTP over OpenSSH as a small FTP server. However I would like to use a mounted hard drive or USB stick as the chrooted directory for the user. As far as I see, chrooting is ...
1
vote
0answers
84 views

Restore permission and ownersip to root/home folders?

I have migrated my system to a new hard disk and backed up my system to an external NTFS volume with rsync- ahv, a oversight and mistake given that NTFS volumes do not support UNIX permissions. ...
1
vote
0answers
177 views

X Server crashes when I start Firefox from chroot

I thought to start an isolated Firefox instance in a chroot, but it always crashes my X Server. I tried with different chroot environments (raring, trusty), and tried schroot and plain chroot too. ...
0
votes
1answer
262 views

Accidentally uninstalled all kernels

I'm running the Ubuntu 12.04 LTS LAMP server. I got an error stating that my root directory was full after running an apt-get dist-upgrade, so following the instructions I found online, I uninstalled ...
1
vote
0answers
281 views

ImportError: No module named mechanize

I am having an issue where I have definitely installed mechanize both on my machine and in various virtual environments. When i running the program got error message ImportError: No module named ...
16
votes
3answers
4k 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
vote
0answers
34 views

Is it possible to upgrade a machine remotely using local system resources?

I'm doing an upgrade on a little Intel Atom "nettop". It's extremely slow and takes somewhere around an hour to do a release upgrade. I'm looking to improve that. This question follows a slightly ...
0
votes
0answers
3k views

500 OOPS: vsftpd: refusing to run with writable root inside chroot() Login failed [duplicate]

I have tried: ufw and selinux is shutdown sudo chmod 755 ftp allow_writeable_chroot=YES How to solve the problem?
1
vote
1answer
719 views

Unable to run executable from mounted flashdrive on Chromebook

I recently got a Chromebook and installed Crouton on it so I can run Ubuntu natively. Since the machine only has 16GB of SSD I decided to get a tiny flash drive that I can keep in it at all times. The ...
2
votes
0answers
575 views

Why does mounting proc in my chroot fail during debootstrapping?

In a cleanly installed Ubuntu Raring machine I am trying to perform a debootstrap of another system. Here's the exact command: http_proxy=http://192.168.122.1:8000/ debootstrap --arch=amd64 raring ...
0
votes
1answer
335 views

chroot sftp not able to login

I am trying to set up sftp access on my server and chroot the users into a samba share. When I edit /etc/ssh/sshd_config and add Match Group sftpusers ChrootDirectory /srv/samba/share ForceCommand ...
0
votes
1answer
439 views

Missing shared libraries when using chroot

I'm attempting to use schroot to run a 32-bit application on a 64-bit Ubuntu (actually Lubuntu) Raring installation. I was successful creating the chroot populated by the following command: sudo ...
2
votes
2answers
398 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?
3
votes
1answer
454 views

How to run `gsettings set` in chroot? [duplicate]

I ran the following command in chroot environment without X: gsettings set org.gnome.desktop.a11y.applications screen-reader-enabled true I get the following error message: (process:8290): WARNING ...
3
votes
0answers
680 views

What are the differences between jails and chroot?

I'm currently trying to point out the finer details between chroot spaces and jails. And clear up some of the controversy in the phrase "chroot jail." So far I have chroot defined simplistically as ...
2
votes
1answer
253 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 ...
1
vote
0answers
173 views

Chroot environment can access external, but not internal network

I've just set a chroot environment up on a new 12.10 install, and it seems capable of accessing the external network (Internet basically) but it cannot access anything on the internal network inside ...
1
vote
2answers
1k 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 ...
2
votes
1answer
277 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 ...
0
votes
3answers
3k views

Error executing sudo in chroot environmet

I am facing a strange problem while using a chroot'd 12.04 Ubuntu. When I try to run anything with sudo I get the following error: sudo: effective uid is not 0, is sudo installed setuid root? If I ...
0
votes
1answer
287 views

Match directive breaks SSH

On my Ubunut server 12.04 LTS machine, I try to add a user with only sFTP or FTP access. Let's call him 'Jim' for now. Jim only needs access to a directory /var/www/example.com. So far I've tried ...
0
votes
2answers
3k views

13.04 not leaving any efibootmgr entries

I made a clean install of 13.04 from a flash drive, but after a reboot the only uefi boot options I have are the basic efi shell entries and the flash drive again - there's simply no entry for 13.04. ...
0
votes
1answer
315 views

How to update a package in ubuntu-builder which requires system reboot?

I am trying to create a customized ubuntu live cd using ubuntu-builder. I was following this perticular answer: How to customize live Ubuntu CD? If I try to update a package which requires system ...
2
votes
2answers
11k views

Changing write permissions for jailed SFTP denies login

I have scouted over many websites and forums on how to setup an SFTP user that is jailed to a certain directory using CHROOT. Here are the steps I have followed but I can't seem to get write ...
6
votes
1answer
1k 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 ...
1
vote
1answer
313 views

CD Based Usage of debootstrap?

I have installed 12.04 xubuntu alternative with whole disk encryption on a machine. I am attempting to set up a schroot usage of backbox 3.01 (an ubuntu 12.04 derivative from what I can tell) under ...
1
vote
2answers
318 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, ...
2
votes
0answers
182 views

Is there a proper way to set up a copy-on-write based build env that use your live / as base files?

I'm trying to set up a build environment using chroot, but instead of downloading ubuntu base files, I want to use my live / as base files for the chroot and use c-o-w to redirect any changes made in ...
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 ...
1
vote
1answer
238 views

64bit chroot on 64bit host

The host is a Ubuntu 12.04 64-bit installation. I'm using schroot to run chroots for several different Linux systems, such as Ubuntu 10.04 i386. The files for the chroots stem from working ...
1
vote
0answers
565 views

Cannot start gnome-shell in an Android chroot

In my Android-hosted Ubuntu 12.10 chroot, I am attempting to get gnome-shell running on Xvfb. I've handled rendering issues as far as I know, and now I'm having trouble with gnome-shell. I suspect ...
1
vote
1answer
450 views

vsftpd chroot opps on ubuntu 12.04

I'm unfamiliar with deb based systems, so my apologies if the solution is simple. I'm trying to setup vsftpd to jail users to their home directories. I get the 500 OOPS: vsftpd: refusing to run with ...