Re: chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Jeffrey Walton
On Sun, Jun 18, 2023 at 5:03 AM Mario Marietto wrote: > > [...] > I've debootstrapped jessie on Ubuntu 14.04 with this command : > > debootstrap --foreign --arch=armhf jessie jessie-armhf > http://archive.debian.org/debian > > and it worked ok,but when I try to chroot within it : > > root@mariett

Re: chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Tim Woodall
On Sun, 18 Jun 2023, Mario Marietto wrote: Hello. with qemu works,but I thought that it was better to avoid the usage of qemu. I'm a bit puzzled what you're trying to do. if you want to chroot on an amd64 machine then you have to use something like qemu to emulate the armhf processor. If yo

Re: chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Tim Woodall
On Sun, 18 Jun 2023, Mario Marietto wrote: Hello. Maybe a little problem for you,but a bigger problem for me. I've debootstrapped jessie on Ubuntu 14.04 with this command : debootstrap --foreign --arch=armhf jessie jessie-armhf http://archive.debian.org/debian and it worked ok,but when I try

Re: chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Mario Marietto
The debootstrapping of "stretch / armel" can't be completed : root@marietto-Z87-HD3:/home/marietto/Scrivania/Chromebook/linux-distros# qemu-debootstrap --foreign --arch=armel stretch stretch-armel http://archive.debian.org/debian

Re: chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Mario Marietto
---> Just to be sure: is your Ubuntu (and your system) armhf? As host I've installed ubuntu 14.04 (for amd64) and I've installed ubuntu 14.04 for arm-hf on the arm chromebook (the variant armel version does not exist for the 14.04). ---> If not, you'll need something like qemu-user to emulate arm

Re: chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Eduardo M KALINOWSKI
On 18/06/2023 06:02, Mario Marietto wrote: Hello. Maybe a little problem for you,but a bigger problem for me. I've debootstrapped jessie on Ubuntu 14.04 with this command : debootstrap --foreign --arch=armhf jessie jessie-armhf http://archive.debian.org/debian

Re: chroot: can't execute command "/bin/bash": No such file or directory

2023-06-18 Thread Darac Marjal
On 18/06/2023 10:02, Mario Marietto wrote: Hello. Maybe a little problem for you,but a bigger problem for me. I've debootstrapped jessie on Ubuntu 14.04 with this command : debootstrap --foreign --arch=armhf jessie jessie-armhf http://archive.debian.org/debian

Re: Chroot and x32

2022-11-29 Thread Jeremy Hendricks
My new project is to make a bootable live iso of Debian x32 with XFCE :) I forgot about this port On Tue, Nov 29, 2022 at 2:56 PM Sven Joachim wrote: > On 2022-11-29 11:24 -0500, Jeffrey Walton wrote: > > > I'm running a Debian Unstable machine. I use it for Chroots. I noticed > > x32 is not ava

Re: Chroot and x32

2022-11-29 Thread Sven Joachim
On 2022-11-29 11:24 -0500, Jeffrey Walton wrote: > I'm running a Debian Unstable machine. I use it for Chroots. I noticed > x32 is not available when I attempted to setup a chroot with > debootstrap: > > $ debootstrap --arch=x32 --keyring > /usr/share/keyrings/debian-archive-keyring.gpg \ > --va

Re: Chroot and x32

2022-11-29 Thread Andrew M.A. Cater
On Tue, Nov 29, 2022 at 11:24:42AM -0500, Jeffrey Walton wrote: > Hi Everyone, > > I'm running a Debian Unstable machine. I use it for Chroots. I noticed > x32 is not available when I attempted to setup a chroot with > debootstrap: > > $ debootstrap --arch=x32 --keyring > /usr/share/keyrings/debi

Re: chroot jail for user with rssh

2019-03-28 Thread basti
On 28.03.19 13:43, Peter Wiersig wrote: > basti writes: >> On 28.03.19 08:21, Peter Wiersig wrote: >>> basti writes: >> Try scp: >> >> /usr/sbin/sshd -d -p >> >> Starting session: command for alice from 2.206.185.146 port 45296 id 0 > > So that reads as if all is fine, but then the next

Re: chroot jail for user with rssh

2019-03-28 Thread Peter Wiersig
basti writes: > On 28.03.19 08:21, Peter Wiersig wrote: >> basti writes: > Try scp: > > /usr/sbin/sshd -d -p > > Starting session: command for alice from 2.206.185.146 port 45296 id 0 So that reads as if all is fine, but then the next line indicates that the client has terminated the connec

Re: chroot jail for user with rssh

2019-03-28 Thread basti
On 28.03.19 12:15, wrote: > Did you use Russ' supplied script > /usr/share/doc/rss/examples/mkchroot.sh to create that environment? > > My contents after that script look quite different to your presented > files. > > Did you act on the logging notice after using the script, so that the > syslo

Re: chroot jail for user with rssh

2019-03-28 Thread Peter Wiersig
basti writes: > > Files inside chroot: > > /home/user# find ./ > ./ > ./bin > ./bin/ls > ./bin/date > ./bin/bash > ./.ssh > ./.ssh/authorized_keys > ./lib > ./lib/x86_64-linux-gnu > ./lib/x86_64-linux-gnu/libattr.so.1 > ./lib/x86_64-linux-gnu/libncurses.so.5 > ./lib/x86_64-linux-gnu/librt.so.1 > .

Re: chroot jail for user with rssh

2019-03-28 Thread basti
On 28.03.19 08:21, Peter Wiersig wrote: > basti writes: > >> sftp -vv u...@example.com >> Transferred: sent 2508, received 2260 bytes, in 0.2 seconds >> Bytes per second: sent 15924.1, received 14349.5 >> debug1: Exit status 1 >> Connection closed >> >> >> scp -vv u...@example.com:/foo /tmp >> Tr

Re: chroot jail for user with rssh

2019-03-28 Thread Peter Wiersig
basti writes: > sftp -vv u...@example.com > Transferred: sent 2508, received 2260 bytes, in 0.2 seconds > Bytes per second: sent 15924.1, received 14349.5 > debug1: Exit status 1 > Connection closed > > > scp -vv u...@example.com:/foo /tmp > Transferred: sent 2508, received 2304 bytes, in 0.2 sec

Re: chroot setup problem

2016-04-22 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Apr 22, 2016 at 09:36:57AM -0400, Haines Brown wrote: > On Fri, Apr 22, 2016 at 10:36:36AM +0100, Karl E. Jorgensen wrote: > > > > # LANG=C.UTF8 /usr/sbin/chroot /mnt/debinst /bin/bash > > > /usr/sbin/chroot: failed to run command `/bin/ba

Re: chroot setup problem

2016-04-22 Thread Haines Brown
On Fri, Apr 22, 2016 at 10:36:36AM +0100, Karl E. Jorgensen wrote: > > # LANG=C.UTF8 /usr/sbin/chroot /mnt/debinst /bin/bash > > /usr/sbin/chroot: failed to run command `/bin/bash': No such file or > > directory > > > > /usr/bin/chroot exists. So does /mnt/debinst. So does /bin/bash. >

Re: chroot setup problem

2016-04-22 Thread Cindy-Sue Causey
On 4/22/16, Haines Brown wrote: > On Fri, Apr 22, 2016 at 12:04:41AM +, Mark Fletcher wrote: > >> Does /mnt/debinst/bin/bash exist? >> >> It's looking for /bin/bash in the chrooted environment and not finding >> it. > > I fixed this and: > > $ ls -la /mnt/debinst/bin > ... > -rwxr-xr-x

Re: chroot setup problem

2016-04-22 Thread tomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, Apr 22, 2016 at 06:57:17AM -0400, Haines Brown wrote: > On Fri, Apr 22, 2016 at 12:04:41AM +, Mark Fletcher wrote: > > > > On Fri, 22 Apr 2016 at 08:18, Haines Brown wrote: > > > > I attempt to chroot from /dev/sdb on /dev/sda. > >

Re: chroot setup problem

2016-04-22 Thread Haines Brown
On Fri, Apr 22, 2016 at 12:04:41AM +, Mark Fletcher wrote: > > On Fri, 22 Apr 2016 at 08:18, Haines Brown wrote: > > I attempt to chroot from /dev/sdb on /dev/sda. > >   # mount /dev/sda1 /mnt/debinst > > I verify it is mounted and then do: > >   # LANG=C.UTF8 /usr/sbin/ch

Re: chroot setup problem

2016-04-22 Thread Karl E. Jorgensen
On Thu, Apr 21, 2016 at 07:17:14PM -0400, Haines Brown wrote: > I attempt to chroot from /dev/sdb on /dev/sda. > > # mount /dev/sda1 /mnt/debinst > > I verify it is mounted and then do: > > # LANG=C.UTF8 /usr/sbin/chroot /mnt/debinst /bin/bash > /usr/sbin/chroot: failed to run command `/b

Re: chroot setup problem

2016-04-21 Thread Mark Fletcher
On Fri, 22 Apr 2016 at 08:18, Haines Brown wrote: > I attempt to chroot from /dev/sdb on /dev/sda. > > # mount /dev/sda1 /mnt/debinst > > I verify it is mounted and then do: > > # LANG=C.UTF8 /usr/sbin/chroot /mnt/debinst /bin/bash > /usr/sbin/chroot: failed to run command `/bin/bash': No s

Re: chroot directory, and sshd

2016-03-11 Thread Ron Leach
On 10/03/2016 21:41, Sven Hartge wrote: Ron Leach wrote: I haven't been able to find out how to check the permissions on "/", and I'd appreciate a suggestion how to do that # ls -ld / drwxr-xr-x 29 root root 4096 Mar 10 13:07 / Sven, tks. I'd used "ls -lg /" but that didn't list "/". Che

Re: chroot directory, and sshd

2016-03-10 Thread Sven Hartge
Ron Leach wrote: > I note that the auth failure does seem to suggest there is something > wrong with permissions for "/" itself. I haven't been able to find > out how to check the permissions on "/", and I'd appreciate a > suggestion how to do that if - as it seems - that might be what sshd

Re: Chroot/Debootstrap Mechanisms (Was: terminal doesn't come up in Jessie Beta-1?)

2014-09-14 Thread Bob Proulx
Cindy-Sue Causey wrote: > Yeah, I'm just the other side of ready to attempt testing. Soon. Very > soon. Life keeps getting in the way. Truthfully not sure what I've > got. The simple stuff, like determining version, eludes me often.. DID > miraculously just have uname come to mind so ended up with

Re: chroot jail problem

2014-02-17 Thread Antonio Fernández Pérez
Hi Reci, Do not be mean ...;) True, maybe not I contributed much information as possible: ( Thanks. Regards, Antonio.

Re: chroot jail problem

2014-02-17 Thread Antonio Fernández Pérez
Thanks for your answer. Regards, Antonio.

Re: chroot jail problem

2014-02-14 Thread Reco
On Fri, 14 Feb 2014 14:01:55 +0100 Antonio Fernández Pérez wrote: > Ups! Sorry, I forgot paste the link. > > I have used this: wget > http://www.fuschlberger.net/programs/ssh-scp-sftp-chroot-jail/make_chroot_jail.sh Ok. So, this script was written before Debian implemented multilib, which, in t

Re: chroot jail problem

2014-02-14 Thread Reco
Hi. On Fri, 14 Feb 2014 13:38:30 +0100 Ralf Mardorf wrote: > On Fri, 2014-02-14 at 16:35 +0400, Reco wrote: > > You can post this script, at least. Or to provide a download link to it. > > Because, you see, using telepathy was proved ineffective in > > troubleshooting ;) > > :D > > http://www

Re: chroot jail problem

2014-02-14 Thread Ralf Mardorf
On Fri, 2014-02-14 at 14:01 +0100, Antonio Fernández Pérez wrote: > I have used this: wget > http://www.fuschlberger.net/programs/ssh-scp-sftp-chroot-jail/make_chroot_jail.sh > > # uname -a > Linux cd84245 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 x86_64 > GNU/Linux > > Maybe I should to implm

Re: chroot jail problem

2014-02-14 Thread Antonio Fernández Pérez
Ups! Sorry, I forgot paste the link. I have used this: wget http://www.fuschlberger.net/programs/ssh-scp-sftp-chroot-jail/make_chroot_jail.sh # uname -a Linux cd84245 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 x86_64 GNU/Linux Maybe I should to implment chroot jail technique with another methods

Re: chroot jail problem

2014-02-14 Thread Ralf Mardorf
On Fri, 2014-02-14 at 13:38 +0100, Ralf Mardorf wrote: > On Fri, 2014-02-14 at 16:35 +0400, Reco wrote: > > You can post this script, at least. Or to provide a download link to it. > > Because, you see, using telepathy was proved ineffective in > > troubleshooting ;) > > :D > > http://www.fuschlb

Re: chroot jail problem

2014-02-14 Thread Ralf Mardorf
On Fri, 2014-02-14 at 16:35 +0400, Reco wrote: > You can post this script, at least. Or to provide a download link to it. > Because, you see, using telepathy was proved ineffective in > troubleshooting ;) :D http://www.fuschlberger.net/programs/ssh-scp-sftp-chroot-jail/make_chroot_jail.sh.html ht

Re: chroot jail problem

2014-02-14 Thread Reco
Hi. On Fri, Feb 14, 2014 at 01:21:43PM +0100, Antonio Fernández Pérez wrote: > I have tried to install libraries but I think that are not compatible with > 64-bit. Way too vague. What does 'uname -a' says on your system? What was the package name you've tried to install? What command did you us

Re: chroot jail problem

2014-02-14 Thread Ralf Mardorf
On Fri, 2014-02-14 at 13:21 +0100, Antonio Fernández Pérez wrote: > I have tried to install libraries but I think that are not compatible > with 64-bit. A long time ago I run a 64-bit architecture Debian with a 32-bit chroot, nowadays Debian does support multiarch https://wiki.debian.org/Multiarc

Re: chroot jail problem

2014-02-14 Thread Antonio Fernández Pérez
Is a shell script that runs some commands to make jails automatically. I have read about debootstrap ... I was looking for an automatically tool to save time ... Thanks. Antonio.

Re: chroot jail problem

2014-02-14 Thread Antonio Fernández Pérez
Thanks Ralf. I have tried to install libraries but I think that are not compatible with 64-bit. I have asked to the author. I'm waiting for an answer. Thanks. Regards, Antonio.

Re: chroot jail problem

2014-02-14 Thread Ralf Mardorf
On Fri, 2014-02-14 at 12:45 +0100, Antonio Fernández Pérez wrote: > Hi everybody, > > > I would like to configure a chroot jail on Debian 7 64-bit. I'm trying > to execute make_chroot_jail.sh to create a jail but I have problems > with some libraries: > > > Copying necessary library-files to

Re: chroot jail problem

2014-02-14 Thread Roger Leigh
On Fri, Feb 14, 2014 at 12:45:49PM +0100, Antonio Fernández Pérez wrote: > I would like to configure a chroot jail on Debian 7 64-bit. I'm trying to > execute make_chroot_jail.sh to create a jail but I have problems with some > libraries: What is make_chroot_jail.sh? Where did you obtain it from?

Re: chroot or virtual machine

2012-05-18 Thread Roger Leigh
On Sat, May 19, 2012 at 12:08:32AM +0900, Osamu Aoki wrote: > On Thu, May 17, 2012 at 11:33:21AM +0100, Roger Leigh wrote: > > On Thu, May 17, 2012 at 09:15:26AM +0100, Chris Davies wrote: > > > Roger Leigh wrote: > > Arguably, we should probably document the setup procedure. While > > we describ

Re: chroot or virtual machine

2012-05-18 Thread Ross Boylan
On Tue, 2012-05-15 at 17:24 +0100, Roger Leigh wrote: > On Tue, May 15, 2012 at 08:19:23AM -0700, Ross Boylan wrote: > > Like you, I'm figuring this out, and so my understanding could be wrong > > or suboptimal. I tried to avoid the sys/proc/dev sharing, but found I > > needed to do them to make t

Re: chroot or virtual machine

2012-05-18 Thread Osamu Aoki
Hi, On Thu, May 17, 2012 at 11:33:21AM +0100, Roger Leigh wrote: > On Thu, May 17, 2012 at 09:15:26AM +0100, Chris Davies wrote: > > Roger Leigh wrote: > > > http://people.debian.org/~rleigh/schroot.pdf This is schroot(8) in PDF :-) ... > Arguably, we should probably document the setup procedur

Re: chroot or virtual machine

2012-05-17 Thread Chris Davies
Roger Leigh wrote: > On Thu, May 17, 2012 at 09:15:26AM +0100, Chris Davies wrote: >> However, what I cannot see is what configuration I need to do [...] >> What else do I need to do? I assumed I needed to create /home/chroot/test, >> so I did that. But now what? > I think you probably need to a

Re: chroot or virtual machine

2012-05-17 Thread Roger Leigh
On Thu, May 17, 2012 at 09:15:26AM +0100, Chris Davies wrote: > Roger Leigh wrote: > > http://people.debian.org/~rleigh/schroot.pdf > > However, what I cannot see is what configuration I need to do to make > it work. I've uncommented (and tweaked slightly) what looks like the > most basic configu

Re: chroot or virtual machine

2012-05-17 Thread Chris Davies
Roger Leigh wrote: > http://people.debian.org/~rleigh/schroot.pdf As a curious party (i.e. not the original poster) I've taken a look at this and installed it. Thank you Roger for the pointer. However, what I cannot see is what configuration I need to do to make it work. I've uncommented (and tw

Re: chroot or virtual machine

2012-05-16 Thread Alex Mestiashvili
On 05/15/2012 06:24 PM, Roger Leigh wrote: > On Tue, May 15, 2012 at 08:19:23AM -0700, Ross Boylan wrote: > >> Like you, I'm figuring this out, and so my understanding could be wrong >> or suboptimal. I tried to avoid the sys/proc/dev sharing, but found I >> needed to do them to make things wor

Re: chroot or virtual machine

2012-05-15 Thread Roger Leigh
On Tue, May 15, 2012 at 08:19:23AM -0700, Ross Boylan wrote: > Like you, I'm figuring this out, and so my understanding could be wrong > or suboptimal. I tried to avoid the sys/proc/dev sharing, but found I > needed to do them to make things work. Sharing those virtual file > systems removes a lo

Re: chroot or virtual machine

2012-05-15 Thread Ross Boylan
On Tue, 2012-05-15 at 08:19 -0700, Ross Boylan wrote: > I've been running myth in a chroot because my host system is Lenny. > At > least as I've set it up, > /dev/daisy/chroot /mnt/chroot ext3 defaults 0 2 > proc-testing/mnt/chroot/proc proc defaults 0 0 > sysfs-testing

Re: chroot or virtual machine

2012-05-15 Thread Ross Boylan
On Tue, 2012-05-15 at 11:10 +, Ramon Hofer wrote: > On Tue, 15 May 2012 11:45:58 +0200, David Sastre Medina wrote: > > > On Sun, May 13, 2012 at 07:13:23PM +, Ramon Hofer wrote: > >> Hi all > >> > >> I'm planning on setting up my new media server. > >> > >> So I was thinking of putting m

Re: chroot or virtual machine

2012-05-15 Thread Ramon Hofer
On Tue, 15 May 2012 11:45:58 +0200, David Sastre Medina wrote: > On Sun, May 13, 2012 at 07:13:23PM +, Ramon Hofer wrote: >> Hi all >> >> I'm planning on setting up my new media server. >> >> So I was thinking of putting mythbackend, logitech media server, >> rtorrent, nfs, samba, etc. into

Re: chroot or virtual machine

2012-05-15 Thread David Sastre Medina
On Tue, May 15, 2012 at 12:51:44PM +0200, Arnt Karlsen wrote: > On Tue, 15 May 2012 11:45:58 +0200, David wrote in message > <20120515094556.ga4...@pris.crapsteak.org>: > > > On Sun, May 13, 2012 at 07:13:23PM +, Ramon Hofer wrote: > > > Hi all > > > > > > I'm planning on setting up my new m

Re: chroot or virtual machine

2012-05-15 Thread Arnt Karlsen
On Tue, 15 May 2012 11:45:58 +0200, David wrote in message <20120515094556.ga4...@pris.crapsteak.org>: > On Sun, May 13, 2012 at 07:13:23PM +, Ramon Hofer wrote: > > Hi all > > > > I'm planning on setting up my new media server. > > > > So I was thinking of putting mythbackend, logitech med

Re: chroot or virtual machine

2012-05-15 Thread David Sastre Medina
On Sun, May 13, 2012 at 07:13:23PM +, Ramon Hofer wrote: > Hi all > > I'm planning on setting up my new media server. > > So I was thinking of putting mythbackend, logitech media server, > rtorrent, nfs, samba, etc. into virtual machines. A virtual machine for every server? On what purpose?

Re: chroot ssh and ftp

2012-03-31 Thread Chris Davies
Dr Beco wrote: > It's weird though to have a student [...] see his files owned by him, > and group professor, him being a student. The group name is just a label. There's no real reason why you couldn't call it something else. (Stay away from "staff", and be aware that on many systems "users" alr

Re: chroot ssh and ftp

2012-03-31 Thread Dr Beco
> Off the cuff: all student dirs have a group owner of "professors" with > rwx perm, and students are not in that group. > Professors are in group "professors" and the group owner of their dirs > is "professors" but the perms for group are blank (or make the group > owner "admins" or something). >

Re: chroot ssh and ftp

2012-03-30 Thread Kelly Clowers
On Fri, Mar 30, 2012 at 13:09, Dr Beco wrote: > Hi there  wlan and Keith, > > I'm not so sure it's that simple, but I would be glad if it is. > > When I say "browse", I mean through ftp or through commands in a login > session with bash, like 'cd' or a simple 'ls /etc'. > > (I thought the "subject

Re: chroot ssh and ftp

2012-03-30 Thread Dr Beco
Hi there wlan and Keith, I'm not so sure it's that simple, but I would be glad if it is. When I say "browse", I mean through ftp or through commands in a login session with bash, like 'cd' or a simple 'ls /etc'. (I thought the "subject" would make it clear, ssh and ftp, but actually it is bash

Re: chroot ssh and ftp

2012-03-30 Thread Keith McKenzie
On 30/03/12 19:39, Dr Beco wrote: Hi there debian users, I've being searching a "how-to" to work this out, but all I got was old blogs with very strange and different suggestions. I need to configure a system with 3 groups of people: admins, professors and students. MAYBE THE FOLLOWING WILL

Re: chroot ssh and ftp

2012-03-30 Thread wlan
If you have configured ssh-server you can simple configure sftp. 2012/3/30 Dr Beco > Hi there debian users, > > > I've being searching a "how-to" to work this out, but all I got was > old blogs with very strange and different suggestions. > > I need to configure a system with 3 groups of people:

Re: chroot problem

2010-07-09 Thread Anand Sivaram
On Sat, Jul 10, 2010 at 05:10, Bob Proulx wrote: > Zachary Uram wrote: > > in order to get it working i tried to mount the root partition : > > # mount /dev/sda5 /tmp/mnt > > > > that is fine, but when i run chroot i get weird error: > > # chroot /tmp/mnt > > # chroot: cannot execute command '/bi

Re: chroot problem

2010-07-09 Thread Bob Proulx
Zachary Uram wrote: > in order to get it working i tried to mount the root partition : > # mount /dev/sda5 /tmp/mnt > > that is fine, but when i run chroot i get weird error: > # chroot /tmp/mnt > # chroot: cannot execute command '/bin/bash' : Exec format error Is it possible that your live cd mo

Re: Chroot+ldap problem

2010-01-21 Thread Alex Samad
On Thu, Jan 21, 2010 at 06:30:29PM -0300, Patricio Rojo wrote: > Hi, I have this bizarre problem and I would really appreciate if > someone can point me in the right direction to solve it. > > I have a set of two amd64 machines with Debian Lenny. Machine 2 > reads all the users' information from t

Re: chroot a few apps

2010-01-11 Thread Osamu Aoki
Hi, On Sat, Jan 09, 2010 at 10:26:47AM +0100, Vadkan Jozsef wrote: > What kind of chroot should I use, if I want to make a more secured > desktop, running e.g.: ... > or e.g.: I have to open a .doc file, that I don't trust, or a PDF can > contain malicious code :( Chroot only provides limited sec

Re: chroot a few apps

2010-01-10 Thread Tzafrir Cohen
On Sat, Jan 09, 2010 at 10:26:47AM +0100, Vadkan Jozsef wrote: > Hi. > > What kind of chroot should I use, if I want to make a more secured > desktop, running e.g.: > > pdf reader > webbrowser > audio player > video player > openoffice > picture viewer > mua > ooo > virtualbox > > e.g.: if there

Re: chroot a few apps

2010-01-10 Thread Andrew Malcolmson
> On Sat, Jan 09, 2010 at 10:26:47AM +0100, Vadkan Jozsef wrote: > > Hi. > > > > What kind of chroot should I use, if I want to make a more secured > > desktop, running e.g.: > > Take a look at schroot. This utility lets a regular user to run chrooted programs commands (including graphical prog

Re: chroot a few apps

2010-01-09 Thread lego_12239
On Sat, Jan 09, 2010 at 10:26:47AM +0100, Vadkan Jozsef wrote: > Hi. > > What kind of chroot should I use, if I want to make a more secured > desktop, running e.g.: > > pdf reader > webbrowser > audio player > video player > openoffice > picture viewer > mua > ooo > virtualbox For web browser

Re: Chroot can't find /sbin/getty

2009-07-22 Thread Javier Barroso
On Wed, Jul 22, 2009 at 10:38 PM, John wrote: > On (20/07/09 23:49), Javier Barroso wrote: > | Hi, > | On Tue, Jul 14, 2009 at 8:47 PM, John wrote: > | > I've run a chroot of stable, starting with sarge, currently etch, for > several years. The relevant line in /etc/inittab has been > "8:23:respa

Re: Chroot can't find /sbin/getty

2009-07-22 Thread John
On (20/07/09 23:49), Javier Barroso wrote: | Hi, | On Tue, Jul 14, 2009 at 8:47 PM, John wrote: | > I've run a chroot of stable, starting with sarge, currently etch, for several years. The relevant line in /etc/inittab has been "8:23:respawn:/usr/sbin/chroot /[chroot] /sbin/getty 38400 tty8" and

Re: Chroot can't find /sbin/getty

2009-07-20 Thread Javier Barroso
Hi, On Tue, Jul 14, 2009 at 8:47 PM, John wrote: > I've run a chroot of stable, starting with sarge, currently etch, for several > years. The relevant line in /etc/inittab has been > "8:23:respawn:/usr/sbin/chroot /sarge /sbin/getty 38400 tty8" and it worked. > Until the past month or so, when t

Re: chroot

2009-04-01 Thread Mike McClain
On Wed, Apr 01, 2009 at 11:42:14PM +0100, Roger Leigh wrote: > On Wed, Apr 01, 2009 at 02:12:08PM -0700, Mike McClain wrote: > > I have two different but fairly complete versions of > > Debian installed on separate partitoins on my computer > > Sarge on hdc1 and Etch on hda1. If from Etch I chroot

Re: chroot

2009-04-01 Thread Roger Leigh
On Wed, Apr 01, 2009 at 02:12:08PM -0700, Mike McClain wrote: > I have two different but fairly complete versions of > Debian installed on separate partitoins on my computer > Sarge on hdc1 and Etch on hda1. If from Etch I chroot > into Sarge then execute some command 'ls' for instance. > Which 'l

Re: chroot or vm?

2009-02-25 Thread Nuno Magalhães
> Are you planning on running cgi, mod_php or similar? It you are > serving static html, basic security practices and a firewall would > be probably enough. Dynamic web servers are much more > vulnerable. Yes i am, php through FastCGI, which implies i'll have to validate user data, strip incoming

Re: chroot or vm?

2009-02-25 Thread Tzafrir Cohen
On Wed, Feb 25, 2009 at 12:16:21AM +, Nuno Magalhães wrote: > Greetings, > > i'm planning on running an http server, mainly for fun and to learn a > bit, on my home machine. That's the same machine that has my personal > stuff. I know this is sort of a religious question, but what do you > guy

Re: chroot or vm?

2009-02-24 Thread Kelly Clowers
On Tue, Feb 24, 2009 at 16:16, Nuno Magalhães wrote: > Greetings, > > i'm planning on running an http server, mainly for fun and to learn a > bit, on my home machine. That's the same machine that has my personal > stuff. I know this is sort of a religious question, but what do you > guys recomend:

Re: chroot ?

2008-08-18 Thread Paul Cartwright
On Sun August 17 2008, Osamu Aoki wrote: > devpts-live on /home/live/chroot/dev/pts type devpts (rw) > > > proc-live on /home/live/chroot/proc type proc (rw) > > sysfs-live on /home/live/chroot/sys type sysfs (rw) > > --- > > I was attempting to make a Debian ISO using someones web

Re: chroot ?

2008-08-18 Thread Adrian Levi
2008/8/17 Paul Cartwright <[EMAIL PROTECTED]>: > in the process of looking at what i do have mounted, I noticed a bunch of > chroot stuff.. > > paulandcilla:/var/log# mount > (skip the normal mounted stuff) > > devpts-live on /home/live/chroot/dev/pts type devpts (rw) > proc-live on /home/live/chro

Re: chroot ?

2008-08-18 Thread Osamu Aoki
On Sat, Aug 16, 2008 at 10:23:43AM -0400, Paul Cartwright wrote: > in the process of looking at what i do have mounted, I noticed a bunch of > chroot stuff.. > > paulandcilla:/var/log# mount > (skip the normal mounted stuff) > > devpts-live on /home/live/chroot/dev/pts type devpts (rw) > proc-l

Re: chroot vs. Xen (usecase: Lenny on Etch for testing)

2008-05-02 Thread Simon Jolle
On Fri, May 2, 2008 at 4:25 PM, Matt Zagrabelny <[EMAIL PROTECTED]> wrote: > Check out: > http://en.wikipedia.org/wiki/Jail_(computer_security) > http://en.wikipedia.org/wiki/Comparison_of_virtual_machines Hi Matt Thank you. This comparison is exactly what i was searching. cheers Simon --

Re: chroot vs. Xen (usecase: Lenny on Etch for testing)

2008-05-02 Thread Matt Zagrabelny
On Fri, 2008-05-02 at 16:14 +0200, Simon Jolle wrote: > Hi Debian users > > Whats the difference and advantages/disadvantages between chroot and xen? Lots. Check out: http://en.wikipedia.org/wiki/Jail_(computer_security) http://en.wikipedia.org/wiki/Comparison_of_virtual_machines for starters.

Re: chroot testing of apache installation with multiple fqdn

2007-11-11 Thread Todd A. Jacobs
On Fri, Nov 02, 2007 at 10:50:21AM -0600, John Schmidt wrote: > Is there a way to set up my chroot environment (or perhaps it is an > apache issue) that allows me the freedom to move the machine from one I'm not even sure I really understand the question. Apache doesn't care all that much about y

Re: chroot weirdness with hostnames

2007-10-20 Thread David Clymer
On Sat, 2007-10-20 at 19:34 -0700, Todd A. Jacobs wrote: > I've created a chroot and placed "sid" into the /etc/debian_chroot file > inside the jail. If I use schroot as a mortal, I see the chroot > hostname, but if I change to the chroot as root, or su to root inside > the chroot itself, I see the

Re: chroot: cannot run command `/bin/bash': No such file or directory

2007-08-21 Thread Gerard Robin
On Mon, Aug 20, 2007 at 02:19:49PM -0800, Ken Irving wrote: From: Ken Irving <[EMAIL PROTECTED]> To: debian-user@lists.debian.org Subject: Re: chroot: cannot run command `/bin/bash': No such file or directory Mail-Followup-To: debian-user@lists.debian.org X-Spam-Chec

Re: chroot: cannot run command `/bin/bash': No such file or directory

2007-08-20 Thread Ken Irving
On Mon, Aug 20, 2007 at 10:33:20PM +0200, Gerard Robin wrote: > On Mon, Aug 20, 2007 at 02:44:31PM -0400, Neil Watson wrote: >> On Mon, Aug 20, 2007 at 08:40:09PM +0200, Gerard Robin wrote: First post: > ldd /bin/bash > libncurses.so.5 => /lib/libncurses.so.5 (0x2b2d9014f

Re: chroot: cannot run command `/bin/bash': No such file or directory

2007-08-20 Thread Gerard Robin
On Mon, Aug 20, 2007 at 02:44:31PM -0400, Neil Watson wrote: From: Neil Watson <[EMAIL PROTECTED]> To: debian-user@lists.debian.org Subject: Re: chroot: cannot run command `/bin/bash': No such file or directory X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on murphy.debian

Re: chroot: cannot run command `/bin/bash': No such file or directory

2007-08-20 Thread Neil Watson
On Mon, Aug 20, 2007 at 08:40:09PM +0200, Gerard Robin wrote: First post: ldd /bin/bash libncurses.so.5 => /lib/libncurses.so.5 (0x2b2d9014f000) libdl.so.2 => /lib/libdl.so.2 (0x2b2d9039b000) libc.so.6 => /lib/libc.so.6 (0x2b2d9059f000) /lib64/ld-

Re: chroot: cannot run command `/bin/bash': No such file or directory

2007-08-20 Thread Gerard Robin
On Mon, Aug 20, 2007 at 02:24:18PM -0400, Neil Watson wrote: From: Neil Watson <[EMAIL PROTECTED]> To: debian-user@lists.debian.org Subject: Re: chroot: cannot run command `/bin/bash': No such file or directory X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on murphy.debian

Re: chroot: cannot run command `/bin/bash': No such file or directory

2007-08-20 Thread Neil Watson
On Mon, Aug 20, 2007 at 08:12:24PM +0200, Gerard Robin wrote: find /f: /f /f/bin /f/bin/bash /f/lib /f/lib/libncurses.so.5 /f/lib/ld-2.6.1.so /f/lib/libdl.so.2 /f/lib/libc.so.6 First post: ldd /bin/bash libncurses.so.5 => /lib/libncurses.so.5 (0x2b2d9014f000) libdl.so.

Re: chroot: cannot run command `/bin/bash': No such file or directory

2007-08-20 Thread Gerard Robin
On Mon, Aug 20, 2007 at 02:01:07PM -0400, Neil Watson wrote: From: Neil Watson <[EMAIL PROTECTED]> To: debian-user@lists.debian.org Subject: Re: chroot: cannot run command `/bin/bash': No such file or directory X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-26) on murphy.debian

Re: chroot: cannot run command `/bin/bash': No such file or directory

2007-08-20 Thread Neil Watson
What does 'find /f' produce? -- Neil Watson | Debian Linux System Administrator| Uptime 2 days http://watson-wilson.ca -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: chroot question

2007-01-21 Thread Scott Gifford
Anton Piatek <[EMAIL PROTECTED]> writes: > I have a amd64 install of debian with a 32bit chroot for a couple of > apps. This works great, but I have a question. > > Is it possible to have an application inside the 32bit chroot launch > an application on my main 64 bit system? (e.g. a photo browsi

Re: chroot question

2007-01-21 Thread Rick Thomas
On Jan 20, 2007, at 5:55 PM, Andrew Sackville-West wrote: can you symlink from inside to outside the chroot? Fraid not. The kernel evaluates the symlink's destination in the environment it came from. Rick -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe".

Re: chroot question

2007-01-20 Thread Andrew Sackville-West
On Sat, Jan 20, 2007 at 04:21:19PM -0500, Rick Thomas wrote: > > On Jan 20, 2007, at 2:37 PM, Douglas Allan Tutty wrote: > > >On Sat, Jan 20, 2007 at 05:47:36PM +, Anton Piatek wrote: > >>Hi, > >>I have a amd64 install of debian with a 32bit chroot for a couple > >>of apps. > >>This works g

Re: chroot question

2007-01-20 Thread Rick Thomas
On Jan 20, 2007, at 2:37 PM, Douglas Allan Tutty wrote: On Sat, Jan 20, 2007 at 05:47:36PM +, Anton Piatek wrote: Hi, I have a amd64 install of debian with a 32bit chroot for a couple of apps. This works great, but I have a question. Is it possible to have an application inside the 32b

Re: chroot question

2007-01-20 Thread Douglas Allan Tutty
On Sat, Jan 20, 2007 at 05:47:36PM +, Anton Piatek wrote: > Hi, > I have a amd64 install of debian with a 32bit chroot for a couple of apps. > This works great, but I have a question. > > Is it possible to have an application inside the 32bit chroot launch an > application on my main 64 bit

Re: Chroot environment for 32 bit apps

2006-08-09 Thread Owen Heisler
On Wed, 2006-08-09 at 17:24 +0100, Roger Leigh wrote: > Owen Heisler <[EMAIL PROTECTED]> writes: > > On Wed, 2006-08-09 at 09:24 +0100, Roger Leigh wrote: > >> Owen Heisler <[EMAIL PROTECTED]> writes: > >> > (*) Schroot is not available in amd64 stable, dchroot then. But dchroot > >> > in stable h

Re: Chroot environment for 32 bit apps

2006-08-09 Thread Roger Leigh
Owen Heisler <[EMAIL PROTECTED]> writes: > On Wed, 2006-08-09 at 09:24 +0100, Roger Leigh wrote: >> Owen Heisler <[EMAIL PROTECTED]> writes: >> > (*) Schroot is not available in amd64 stable, dchroot then. But dchroot >> > in stable has a problem with the login package in unstable in the chroot

Re: Chroot environment for 32 bit apps

2006-08-09 Thread Owen Heisler
On Wed, 2006-08-09 at 09:24 +0100, Roger Leigh wrote: > Owen Heisler <[EMAIL PROTECTED]> writes: > > > 5. Run "schroot -p" as root to get into the chroot > > You can also run "schroot -u root" directly as a normal user, and it > will let you log in as root inside the chroot (with a password, or y

Re: Chroot environment for 32 bit apps

2006-08-09 Thread Roger Leigh
Owen Heisler <[EMAIL PROTECTED]> writes: > 5. Run "schroot -p" as root to get into the chroot You can also run "schroot -u root" directly as a normal user, and it will let you log in as root inside the chroot (with a password, or you can add the user to root-users or root-groups for passwordless

Re: Chroot environment for 32 bit apps

2006-08-08 Thread Owen Heisler
On Tue, 2006-08-08 at 18:13 -0500, Seb wrote: > Thanks for the reference and describing how you got it working. I did in > fact run across that site, but found it a bit contrived and hard to undo > if the need arises. Some more digging led me to a great suggestion in: > > http://www.zapoyok.info

  1   2   >