*BSD News Article 37915


Return to BSD News archive

Xref: sserve comp.os.386bsd.bugs:2606 comp.os.386bsd.questions:14461
Newsgroups: comp.os.386bsd.bugs,comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!uwm.edu!spool.mu.edu!howland.reston.ans.net!pipex!uknet!festival!edcogsci!richard
From: richard@cogsci.ed.ac.uk (Richard Tobin)
Subject: Re: chroot() in FreeBSD 1.1.5.1
Message-ID: <CzBpHC.MqD@cogsci.ed.ac.uk>
Organization: HCRC, University of Edinburgh
References: <3a06kq$9bs@dagny.galt.com> <3a0841$nf7@zip.eecs.umich.edu> <3a9bs6$73q@agassiz.cas.und.nodak.edu>
Date: Tue, 15 Nov 1994 19:15:11 GMT
Lines: 14

In article <3a9bs6$73q@agassiz.cas.und.nodak.edu> heilig@aero.und.nodak.edu (Zach Heilig) writes:
>But, how do you get a setuid executable into a subdirectory that you have
>write-access to.

You could union-mount /usr on it:

-r-sr-xr-x    1 root        40960 Oct 19 20:11 /netbsd-1.0/sbin/mount_union

-- Richard
-- 
Richard Tobin, HCRC, Edinburgh University                 R.Tobin@ed.ac.uk

Ooooh!  I didn't know we had a king.  I thought we were an
autonomous collective.