Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 1999 11:15:18 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Konrad Heuer <kheuer@gwdu60.gwdg.de>, Jonathan Chen <jonc@pinnacle.co.nz>
Cc:        Langa Kentane <LKentane@mweb.com>, freebsd-questions@freebsd.org
Subject:   Re: csh or bash (newbie)
Message-ID:  <19990226111518.J431@lemis.com>
In-Reply-To: <Pine.BSF.3.96.990225093617.11596A-100000@gwdu60.gwdg.de>; from Konrad Heuer on Thu, Feb 25, 1999 at 09:46:19AM %2B0100
References:  <Pine.SC5.4.10.9902251122340.11443-100000@kiwi.pinnacle.co.nz> <Pine.BSF.3.96.990225093617.11596A-100000@gwdu60.gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, 25 February 1999 at  9:46:19 +0100, Konrad Heuer wrote:
>
> On Thu, 25 Feb 1999, Jonathan Chen wrote:
>
>> On Wed, 24 Feb 1999, Langa Kentane wrote:
>>
>>> The other day I asked for help on how to change the default shell for root.
>>> Some told me that it was not a very good idea to change root's shell.
>>>
>>> Can someone explain to me why?
>>
>> Can't think of a reason why.
>>
>> Some may say that when you go into single user mode, having the
>> non-default root shell will cause a problem; but FreeBSD will prompt
>> you for which shell to use when you go to single-user mode (in
>> which case I'd go with the default /bin/sh).
>
> I like use tcsh as my default shell (for root, too), but one has to be
> aware of two problems that might occur especially in single user mode:
>
> 1) bash, ksh, tcsh, zsh etc. are installed in /usr/local/bin and are
> usually not available immediately in single user mode when only the root
> file system is mounted read-only.
>
> 2) It doesn't help to copy those shells to /bin since they're dynamically
> linked and thus need the shared libraries in /usr/lib which may not be
> loadable when booting into single-user mode.

Sure, but how often are you in single-user mode?  And since you get
prompted for a shell (and the default is /bin/sh), you're covered
there too.  I've been using /bin/bash as my root shell for years.

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990226111518.J431>