*BSD News Article 37866


Return to BSD News archive

Xref: sserve comp.os.386bsd.bugs:2598 comp.os.386bsd.questions:14438
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!warrane.connect.com.au!troll.apana.org.au!rivendell.apana.org.au!not-for-mail
From: phil@rivendell.apana.org.au (Phil Homewood)
Newsgroups: comp.os.386bsd.bugs,comp.os.386bsd.questions
Subject: Re: chroot() in FreeBSD 1.1.5.1
Date: 15 Nov 1994 00:07:35 +1000
Organization: Rivendell - APANA Brisbane
Lines: 17
Distribution: world
Message-ID: <3a7qv7$e8a@rivendell.apana.org.au>
References: <39vvl6$90m@clavin.uprc.com> <3a06kq$9bs@dagny.galt.com>
NNTP-Posting-Host: rivendell.apana.org.au
X-Newsreader: TIN [version 1.2 PL2]

alex wetmore (alex@pc.cc.cmu.edu) wrote:
: > Big question:  why can't normal users call chroot???

:      This call is restricted to the super-user.

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

Security reasons. Imagine having write access to your own little /etc
directory............

Phil.
--
Phil Homewood                           phil@rivendell.apana.org.au
APANA Brisbane Regional Co-Ordinator    brisbane@apana.org.au
       "Power to the powerless, strength unto the weak"