bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: breaking out of a chroot


From: Neal H. Walfield
Subject: Re: breaking out of a chroot
Date: Wed, 18 May 2005 11:25:29 +0100
User-agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI)

At Wed, 18 May 2005 00:23:11 -0400,
Alfred M. Szmidt wrote:
> 
>    Breaking out of a chroot on the Hurd is trivial: just use a passive
>    translator.
> 
> I couldn't reproduce this...
> 
> Script started on Wed May 18 06:19:32 2005
> ams@Catoblepas:~$ cd chroot
> ams@Catoblepas:~/chroot$ ids
> effective uids: 1002(ams)
> effective gids: 1002(ams)
> available uids: 1002(ams) 1002(ams)
> available gids: 1002(ams) 1002(ams) 1002(ams)
> ams@Catoblepas:~/chroot$ chroot .
> bash-3.00$ showtrans root
> bash-3.00$ settrans -p root /hurd/firmlink /
> bash-3.00$ showtrans root
> /hurd/firmlink /
> bash-3.00$ cd /

This bit is wrong.  root now gives access to the real root (or at
least the root in the file system's name space).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]