From owner-freebsd-questions@FreeBSD.ORG Fri Nov 9 05:17:55 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9809316A417 for ; Fri, 9 Nov 2007 05:17:55 +0000 (UTC) (envelope-from darren@nighttide.net) Received: from olmec.nighttide.net (jasper.nighttide.net [207.5.141.146]) by mx1.freebsd.org (Postfix) with ESMTP id 4523C13C4A6 for ; Fri, 9 Nov 2007 05:17:54 +0000 (UTC) (envelope-from darren@nighttide.net) Received: from olmec.nighttide.net (darren@localhost [127.0.0.1]) by olmec.nighttide.net (8.14.1/8.14.1) with ESMTP id lA94g8pB014318; Thu, 8 Nov 2007 23:42:08 -0500 (EST) (envelope-from darren@nighttide.net) Received: from localhost (darren@localhost) by olmec.nighttide.net (8.14.1/8.14.1/Submit) with ESMTP id lA94g8n1014315; Thu, 8 Nov 2007 23:42:08 -0500 (EST) (envelope-from darren@nighttide.net) X-Authentication-Warning: olmec.nighttide.net: darren owned process doing -bs Date: Thu, 8 Nov 2007 23:42:08 -0500 (EST) From: Darren Henderson To: Roland Smith In-Reply-To: <20071030170613.GC54116@slackbox.xs4all.nl> Message-ID: <20071108233029.Q12418@olmec> References: <472647A0.3030009@brookes.ac.uk> <20071030170613.GC54116@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Questions Subject: Re: Dangers of using a non-base shell X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2007 05:17:55 -0000 On Tue, 30 Oct 2007, Roland Smith wrote: > But if you're starting in single user mode, only / will be mounted. So > if you have /usr or /usr/local on a separate partition, you'd be screwed. > > That is why root should only use a shell that's in the / partition. You'll be prompted for a shell if your default isn't available. I've used bash for the root shell for years. Doesn't mean that you will never have a problem but this paticular situation just means you'll have to hit enter to accept /bin/sh or enter another shell when booting into single user. -Darren ______________________________________________________________________ Darren Henderson darren@nighttide.net Help fight junk e-mail, visit http://www.cauce.org/