From owner-freebsd-hackers Thu May 29 13:08:20 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA06121 for hackers-outgoing; Thu, 29 May 1997 13:08:20 -0700 (PDT) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA06116 for ; Thu, 29 May 1997 13:08:17 -0700 (PDT) Received: from isbalham.ist.co.uk (isbalham.ist.co.uk [192.31.26.1]) by agora.rdrop.com (8.8.5/8.8.5) with ESMTP id NAA26915 for ; Thu, 29 May 1997 13:08:07 -0700 (PDT) Received: from gid.co.uk (uucp@localhost) by isbalham.ist.co.uk (8.8.4/8.8.4) with UUCP id UAA06094; Thu, 29 May 1997 20:57:58 +0100 (BST) Received: from [194.32.164.2] by seagoon.gid.co.uk; Thu, 29 May 1997 20:59:28 +0100 X-Sender: rb@194.32.164.1 Message-Id: In-Reply-To: References: Your message of "Thu, 29 May 1997 07:56:26 PDT." <199705291456.HAA03526@phaeton.artisoft.com> <199705291456.HAA03526@phaeton.artisoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 29 May 1997 20:56:25 +0100 To: Warner Losh From: Bob Bishop Subject: Re: Correct way to chroot for shell account users? Cc: dec@phoenix.its.rpi.edu, peter@grendel.IAEhv.nl, mrcpu@cdsnet.net, hackers@FreeBSD.ORG, Terry Lambert Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I'm sure I'm being desperately naive here, but isn't it sufficient for safety to make chroot(2) a successful no-op unless / is really / (ie the process isn't chrooted already)? -- Bob Bishop (0118) 977 4017 international code +44 118 rb@gid.co.uk fax (0118) 989 4254 between 0800 and 1800 UK