[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: breaking out of a chroot
From: |
Alfred M. Szmidt |
Subject: |
Re: breaking out of a chroot |
Date: |
Wed, 18 May 2005 00:23:11 -0400 |
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 /
bash-3.00$ ls
bin hurd lib root
bash-3.00$ exit
exit
ams@Catoblepas:~/chroot$ exit
exit
Script done on Wed May 18 06:20:58 2005