From owner-freebsd-questions@FreeBSD.ORG Thu Oct 19 15:34:57 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABE2816A417 for ; Thu, 19 Oct 2006 15:34:57 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id C14F043D68 for ; Thu, 19 Oct 2006 15:34:47 +0000 (GMT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id k9JFVkWt057578; Thu, 19 Oct 2006 11:31:46 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id k9JFVkAC057577; Thu, 19 Oct 2006 11:31:46 -0400 (EDT) (envelope-from jerrymc) Date: Thu, 19 Oct 2006 11:31:46 -0400 From: Jerry McAllister To: Jonathan Arnold Message-ID: <20061019153146.GE55241@gizmo.acns.msu.edu> References: <200610191303.k9JD322j081114@dc.cis.okstate.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Why csh on Root? 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: Thu, 19 Oct 2006 15:34:57 -0000 On Thu, Oct 19, 2006 at 09:20:14AM -0400, Jonathan Arnold wrote: > Martin McCormick wrote: > > Is there any particular reason why FreeBSD has csh as the > >default root shell? Nothing really wrong with it except that I > > The stock answer is that bash is not guaranteed to be available, > as it is neither in the standard installation package, nor is it > on the / partition. After you have installed it, it will go in > the /usr path, which is often a separate partition. If that gets > corrupted, and you've changed your root shell to be /usr/local/bin/bash, > you won't be able to login as root! Even if you were to copy it > to /bin, there might be other dependencies that won't be available. > > There was a recent thread here that talked about how to work around > this. Personally, I just type 'bash' as the first thing when I login > as root in single user mode. Then, there those of us who have not fallen to the depths of using bash. Someone must have been trying to lift us all our of our misery... The BSD default was always /bin/sh. bash has never been a BSD thing - even though Linuxees tend to fall in to it - even though bash follows the /bin/sh family and csh-tcsh does not. ////jerry > -- > Jonathan Arnold (mailto:jdarnold@buddydog.org) > Daemon Dancing in the Dark, a FreeBSD weblog: > http://freebsd.amazingdev.com/blog/ > > UNIX is user-friendly. It's just a bit picky about who its friends are. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"