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
1answer
14 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
0answers
14 views

After I installed virtualisation software on Ubuntu 12.04, can't login as root again

I am using Ubuntu 12.04 and have installed root login. After installing vspace virtualisation software and on rebooting I can not access root login. What might be the issue?
0
votes
0answers
21 views

Ubuntu on Android doesn't mount second with try

Because I'm not sure that it is version problem , re posted without Version (Ubuntu on Android doesn't mount second time). I added Ubuntu on my Android phone (HTC One X clone) using this manual ...
0
votes
0answers
38 views

Ubuntu on Android doesn't mount second time

I added Ubuntu 11.04 on my Android phone (HTC One X clone) using this manual (http://forum.xda-developers.com/showthread.php?t=1872752) , and it installed and mounted . On Ubuntu I installed sshd and ...
0
votes
0answers
28 views

How To Jail Root www-data to /var/www

How do I jail root www-data to the /var/www folder so that when one uses SFTP as www-data to login they only access /var/www? And would this have any repercussions with problems with Apache if I did ...
0
votes
2answers
306 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
0answers
45 views

Mounting a partition and chroot

I'm in the process of recovering my server's files in a "Rescue" mode. Its a Ubuntu 12.04 with 2x3TB in RAID1. The instructions were to SSH into the server in "Rescue" mode, mount the partitions, ...
0
votes
1answer
49 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 ...
1
vote
1answer
85 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 ...
1
vote
0answers
86 views

Chroot Fedora 18

I'm doing a computer project about linux . And my responsibility is chroot on linux and its future . I am thinked a hidden-linux on another linux will be great. So I want to run Fedora 18 on ...
4
votes
1answer
93 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
49 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
51 views

Peculiar permissions/group trouble

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, ...
0
votes
0answers
23 views

Boot chroot from GRUB

I've just installed a 32 bits chroot in my 64 bits Ubuntu. I would to modify the GRUB so I can choose between booting 32 or 64 bits, how can I do it?
2
votes
0answers
27 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 ...
0
votes
0answers
88 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
61 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
188 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
0answers
149 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 ...
0
votes
0answers
26 views

Auto-passphrase in schroot: can't connect to `/run/user/korn/keyring-x30g9r/gpg

when running "debuild -S -sa" to create the source files and sign them in Ubuntu 12.04 I only had to enter my passphrase once and then it is automatically used to unlock my private key on future runs ...
2
votes
1answer
131 views

Can't chroot to recover Ubuntu 64 bits

I was trying to get steam for linux to work on my Ubuntu 10.04 LTS 64 bits system. I installed these three (some 32 bit) packages: http://packages.ubuntu.com/quantal/libc-bin ...
1
vote
1answer
365 views

vsftpd: chroot_local_user causes GNU/TLS-error

Distro: Ubuntu 12.04.2 Server 32-bit Server client: vsftpd 2.3.5 (from default "main" repository) Problem: Since upgrading from Ubuntu 10.04 to Ubuntu 12.04 (nothing changed on client-side), vsftp ...
1
vote
1answer
58 views

Compile AMD athlon-xp 32 bit kernel in intel 64 bit machine

Can someone tell me how to compile linux 3.7 kernel for amd athlon-xp in a 64 bit intel environment through chroot? I tried setting up a chroot environment but compilation gives me error. Thanks to ...
0
votes
0answers
84 views

Setting up chrooted shell accounts with schroot and debootstrap on Ubuntu 10.04

IVe found a ton of documentation on setting up schroot/debootstrap as well as a ton of stuff on jailing sftp and some modest instructions for creating a chrooted shell but i cant find anything on get ...
0
votes
0answers
69 views

setup a global variable in user chroot environment provided by sshd_config

When my users login to my server, they are chrooted to a folder through this config: Match Group chroot ChrootDirectory /usr/lib/sshchroot/chroot/ I want when each user login a program outside ...
0
votes
0answers
106 views

Trouble installing ubuntu-desktop in chroot

When I try to configure the remaining packages for ubuntu-desktop I get the following error: root@gabe-T3656:/# apt-fast -f install Working... this may take a while. No files to download. Reading ...
3
votes
1answer
66 views

How to sandbox Bash shell to affect only current directory?

I heavily use Bash to automate my work. Hence I often [re]write long chunks of code right in the prompt. Is there a way to make commands in any way affect only files from current directory? So in case ...
0
votes
1answer
46 views

How can I change folder permissions in a luks encrypted partition

I have a folder in a luks encrypted partition /media/user/luks-partition/folder on Ubuntu 12.10. I am not able to change folder's permissions. I tried using the nautilus gui and chroot both as ...
0
votes
0answers
48 views

How to have update-grub recognize disk in chroot correctly?

Background: My setup has Ubuntu Precise on sda4 (an SSD). I am backing up to sdb2 (an HD) and would like it to be bootable (as a rescue system). After copying the files (rsync) i chroot and ...
0
votes
0answers
114 views

LTSP server problem

Im using Ubuntu 11.10. I want a build a LTSP server on Ubuntu 11.10. I installed ltsp-server 5.2.16-0ubuntu7 on my machine. [1] When i enter a command sudo ltsp-build-client --mirror ...
1
vote
0answers
39 views

Is there a good ssh jail solution for Ubuntu 12…? [duplicate]

Is there a good how-to/tutorial on setting up a chrooted ssh environment on Ubuntu 12.04LTS. I'm NOT interested in chrooted sftp which is easy to implement. It's jailing users in their home ...
1
vote
0answers
31 views

Can anyone recommend a good chroot ssh tutorial/ how to for Ubuntu 12.04 LTS [duplicate]

Possible Duplicate: Simplest & Easy Way To Jail Users I'm looking for a good how-to/tutorial on setting up a chrooted ssh environment on Ubuntu 12.04LTS. I'm NOT interested in chrooted ...
0
votes
1answer
212 views

Using Chroot with a Java application

I'm working on designing a group of Java programs that I hope to turn into a Java-based OS someday. Until I get a kernel working, I want to just run them on top of Ubuntu. Because of this, I need all ...
1
vote
0answers
47 views

Chroot java application

I would like to chroot Subsonic on my Ubuntu Server. All the Ubuntu doc talks about Chroot another version of Linux or SSH... How can I install chroot jail for a java application ?
0
votes
1answer
90 views

How do I move the mount point of a drive

I have /dev/sda2 mounted as /mnt. I am actually running my system from a volume mounted at /mnt/install (I've chrooted to /mnt/install). I'd like to be able to use that disk from within my chrooted ...
0
votes
1answer
2k views

vsftpd - restrict users to home directory

Setup vsftpd easily If I run this config: listen=YES anonymous_enable=NO local_enable=YES write_enable=NO dirmessage_enable=YES use_localtime=YES xferlog_enable=YES connect_from_port_20=YES ...
0
votes
0answers
44 views

My home folder disappeared after using Chroot/debootstrap. Can it be recovered?

I was following the instructions from http://wiki.winehq.org/WineOn64bit but stopped after cloning wine. Afterwards I closed the terminal and terminated the process when asked. Ubuntu threw up an ...
3
votes
2answers
211 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 ...
0
votes
0answers
123 views

ltsp: install in chroot with GUI-Installer (lirc)

I am trying to install "lirc" into chroot. Installing lirc requires "answering 2 questions". I am on Ubuntu Desktop 12.04. (in Virtualbox) I try this way: ...
1
vote
0answers
110 views

ltsp: fat client with motion -> dropbox upload

I would like to install motion on my ltsp fat clients, which actually works well. What I don't know is how to upload the created files via dropbox. Can someone point me in the right direction? I ...
1
vote
2answers
137 views

How to add user to separate filesystem (Armel)

I'm trying to work out how to add a user to a separate filesystem, as described here, specifically point 5: Add a local user and password for the user, then add the user to the adm and sudo groups. ...
0
votes
0answers
33 views

Calling setguid() system call after chroot(), to drop priviliges results in segfault

As below I found in Ubuntu 12.04, I found that I get the segfault, even though I follow the right procedure. The same code seem to work on RedHat distrubution: Establish a chroot-jail using ...
1
vote
0answers
315 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: ...
3
votes
1answer
135 views

Need to write a script that will jailkit a user and give them access to a particular website directory

I have a ubuntu 12.04 app server hosting a few websites. We need to give access to the developer to only be able upload files to one of the websites. I have installed Jailkit but can't seem to find ...
1
vote
2answers
289 views

Is chroot the right choice for my use case?

Backstory: I am working on setting up a MineCraft server and want to allow admins to have ssh access to the MineCraft server console and appropriate mc server files, but not the whole system. The ...
0
votes
0answers
222 views

run two versions of Ubuntu in chroot / lxc

I prefer LTS releases of Ubuntu and usually I install new version from scratch, and currently I slowly migrate from ubuntu-10.04 to 12.04. Ubuntu-12.04 is installed into separate partition, and during ...
1
vote
1answer
471 views

How to install Ubuntu in a chroot environment on an Archlinux system?

Currently I'm stuck with an Archlinux system at work. However, I want to be able to package some software for Ubuntu on this machine. So I thought it should be possible to set up an Ubuntu (Precise) ...
28
votes
3answers
2k views

What are the differences between sudo, su, visudo, chroot, and gksu?

What are the differences between sudo, su, visudo, chroot, and gksu ?
1
vote
0answers
137 views

How to rsync a chroot without breaking symlinks? [closed]

I'd like to rsync (backup) a chroot environment from outside the chroot. For that I first make a lvm snapshot of the chroot volume and then run rsync on that. The only problem with this approach: ...
0
votes
1answer
153 views

How to start service in a chroot independently of the host system?

I'm using chroot to create ARM Ubuntu installation from Ubuntu Core image. If I mount /proc and /sys all started services intercept with host system (trying to restart dbus is the worst thing it have ...

1 2