This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to properly set up a chrooted environment

On Thu, Apr 01, 2010 at 02:26:46PM -0600, Eric Blake wrote:
> On 04/01/2010 02:19 PM, David 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.

I was thinking about a ftp server. Users would log in into the jail,
say /chroot/home/proftp/... 
And this is just for testing/learning purposes and fun.

> > -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.

OK. Got it. Thank you.

Huella de clave = 943C D77F 0CB0 02FE 166E  E06F D13A A2E1 98A5 C953

Attachment: pgp00000.pgp
Description: PGP signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]