Xref: utzoo news.admin:4209 news.sysadmin:1866 comp.mail.uucp:2481
Newsgroups: news.admin,news.sysadmin,comp.mail.uucp
Path: utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: chroot (was: Re: Dangerous hole in Usenet!
Message-ID: <1988Dec8.171042.10813@utzoo.uucp>
Organization: U of Toronto Zoology
References: <1971@van-bc.UUCP> <572@comdesign.CDI.COM> <5517@medusa.cs.purdue.edu> <561@redsox.UUCP> <215@twwells.uucp> <155@ecicrl.UUCP> <1988Nov29.181037.23528@utzoo.uucp> <157@ecicrl.UUCP> <18639@shemp.CS.UCLA.EDU>
Date: Thu, 8 Dec 88 17:10:42 GMT

In article <18639@shemp.CS.UCLA.EDU> michael@cs.ucla.edu (michael gersten) writes:
>Lets say I put a dummy passwd in mydir/etc.
>And I do a "exec chroot mydir login".
>I then login as root.
>BUT: I'm in mydir, and I can't get out.

But you can, of course, make yourself a setuid-root shell if you've
previously copied sh, chown, and chmod in there.  Please think before posting.
-- 
SunOSish, adj:  requiring      |     Henry Spencer at U of Toronto Zoology
32-bit bug numbers.            | uunet!attcan!utzoo!henry henry@zoo.toronto.edu