*BSD News Article 37820


Return to BSD News archive

Xref: sserve comp.os.386bsd.bugs:2594 comp.os.386bsd.questions:14414
Newsgroups: comp.os.386bsd.bugs,comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!hpg30a.csc.cuhk.hk!news.hk.net!howland.reston.ans.net!news.moneng.mei.com!hookup!olivea!news.hal.COM!decwrl!twwells!bill
From: bill@twwells.com (T. William Wells)
Subject: Re: chroot() in FreeBSD 1.1.5.1
Organization: None, Mt. Laurel, NJ
Message-ID: <Cz48o2.4KB@twwells.com>
References: <39vvl6$90m@clavin.uprc.com> <3a06kq$9bs@dagny.galt.com>
Date: Fri, 11 Nov 1994 18:28:49 GMT
Lines: 7

: I'm not sure why its implemented this way.  I thought I would find an
: answer in Leffler, et al, but I just checked and it didn't say.  The source
: code for the system call doesn't say either.

Sigh. What do you think happens when you make a shiny new
directory hierarchy with an edited copy of /etc/passwd, chroot to
it, and then run su?