Xref: utzoo news.admin:4149 news.sysadmin:1780 comp.mail.uucp:2434
Path: utzoo!utgpu!watmath!clyde!att!rutgers!mit-eddie!husc6!yale!engelson
From: engelson@cs.yale.edu (Sean Philip Engelson)
Newsgroups: news.admin,news.sysadmin,comp.mail.uucp
Subject: Re: Dangerous hole in Usenet!
Message-ID: <44700@yale-celray.yale.UUCP>
Date: 2 Dec 88 18:26:42 GMT
References:  <366@mikros.systemware.de>
Sender: root@yale.UUCP
Reply-To: engelson@cs.yale.edu (Sean Philip Engelson)
Followup-To: news.admin
Organization: Computer Science, Yale University, New Haven, CT 06520-2158
Lines: 37
In-reply-to: stefan@mikros.systemware.de (Stefan Stapelberg)

In article <366@mikros.systemware.de>, stefan@mikros (Stefan Stapelberg) writes:
>In article  vixie@decwrl.dec.com (Paul A Vixie) writes:
>>
>>Chroot is not reversable.  Once you're down, you can't see what was above
>>anymore and therefore there's no way to tell chroot where you'd like to go.
>
>But if you're a real wizard, you can create special device files
>and examine the filesystem which is above the current root dir.
>
>-- 
>	Die schaerfsten Kritiker der Elche
>	   waren frueher selber welche.     -- Traxler

How about this:

ln -s / /tmp/root

cd /tmp
chroot /tmp
su root
chroot /tmp/root

Ta Da!  Instant superuser!

	-Sean-

----------------------------------------------------------------------
Sean Philip Engelson, Gradual Student
Yale Department of Computer Science
51 Prospect St.
New Haven, CT 06520
----------------------------------------------------------------------
G-d, according to Einstein, does not play dice with the world.
Well, maybe; but He sure is into shell games.
		--Jerry Fodor
		in "Modules, Frames, Fridgeons, Sleeping Dogs, and the
		    Music of the Spheres"