How to properly set up a chrooted environment

Eric Blake eblake@redhat.com
Thu Apr 1 20:28:00 GMT 2010


On 04/01/2010 02:19 PM, d.sastre.medina@gmail.com wrote:
> Hello,
> 
> I'm trying to build a chrooted env in a windows 7 box:
> CYGWIN_NT-6.1 win7 1.7.2(0.225/5/3) 2010-03-24 21:12 i686 Cygwin

What do you hope to accomplish with this?  You are NOT adding any
security to your system by using a cygwin chroot, because you do not
have operating system support (that is, an application can escape the
jail by using native Windows commands).  chroot exists to ease porting
some programs (such as coreutils), but is NOT a solution for security
that you seem to think it is.

> 
> -is there a canonical way to do this?
>  (and where is the manual :-))

There is no manual for chroot on cygwin, because no one here recommends
doing it for anything serious.

-- 
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 323 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100401/24783ac1/attachment.sig>


More information about the Cygwin mailing list