Exit from os.chroot()
Tobiah
toby at tobiah.org
Wed Jun 4 15:49:29 EDT 2008
>> So you need some programs in your chroot: Then put a directory
>> usr/bin into the chroot directory and bind the system's /usr/bin
>> there:
>
>> mount --bind /usr/bin $chroot/usr/bin
>
> It is better to make copies of the needed binaries and libraries,
> and *only* them.
Or symbolic links, of course. Also, wouldn't links prevent
the process from puffing actual binaries in /usr/bin?
** Posted from http://www.teranews.com **
More information about the Python-list
mailing list