From owner-freebsd-current Sat Aug 11 10:18:21 2001 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id B886F37B403 for ; Sat, 11 Aug 2001 10:18:17 -0700 (PDT) (envelope-from jdp@wall.polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.3/8.11.3) with ESMTP id f7BHI6X48611; Sat, 11 Aug 2001 10:18:06 -0700 (PDT) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.5/8.11.0) id f7BHI5v25629; Sat, 11 Aug 2001 10:18:05 -0700 (PDT) (envelope-from jdp) Date: Sat, 11 Aug 2001 10:18:05 -0700 (PDT) Message-Id: <200108111718.f7BHI5v25629@vashon.polstra.com> To: current@freebsd.org From: John Polstra Cc: kris@obsecurity.org Subject: Re: bash in /usr/local/bin? In-Reply-To: <20010810233635.A12077@xor.obsecurity.org> References: <3B74D180.D036D629@hway.net> <20010810233635.A12077@xor.obsecurity.org> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In article <20010810233635.A12077@xor.obsecurity.org>, Kris Kennaway wrote: > On Sat, Aug 11, 2001 at 02:32:32AM -0400, Jason Vervlied wrote: > > > I would personally prefer to use it for my root shell, but if I > > remember right, root needs to have something that is in /bin (I > > could be wrong). > > You are wrong. Not a helpful answer, and not correct in my opinion. The only way Jason is "wrong" is if you insist on a uselessly pedantic interpretation of what he wrote. To be used as a single-user shell, a shell has to be in the root filesystem and it has to be statically linked. For most people, "root shell" implies single-user shell, and root filesystem implies "/bin" or "/sbin". John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message