Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 1999 09:46:19 +0100 (CET)
From:      Konrad Heuer <kheuer@gwdu60.gwdg.de>
To:        Jonathan Chen <jonc@pinnacle.co.nz>
Cc:        Langa Kentane <LKentane@mweb.com>, "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: csh or bash (newbie)
Message-ID:  <Pine.BSF.3.96.990225093617.11596A-100000@gwdu60.gwdg.de>
In-Reply-To: <Pine.SC5.4.10.9902251122340.11443-100000@kiwi.pinnacle.co.nz>

next in thread | previous in thread | raw e-mail | index | archive | help


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. 

Regards

//
// Konrad Heuer                                  ____            ___  _______ 
// Gesellschaft für wissenschaftliche           / __/______ ___ / _ )/ __/ _ \
//    Datenverarbeitung mbH GÖttingen          / _// __/ -_) -_) _  |\ \/ // /
// Am Faßberg, D-37077 GÖttingen              /_/ /_/  \__/\__/____/___/____/ 
// Deutschland (Germany)                      ----- The Power to Serve -----
//                                                http://www.freebsd.org
// kheuer@gwdu60.gwdg.de
//



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?Pine.BSF.3.96.990225093617.11596A-100000>