Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 1997 13:54:29 -0700 (PDT)
From:      Annelise Anderson <andrsn@andrsn.stanford.edu>
To:        Shawn Ramsey <shawn@luke.cpl.net>
Cc:        Dan Busarow <dan@dpcsys.com>, bomber <bomber@globalpac.com>, questions@FreeBSD.ORG
Subject:   Re: bash as default
Message-ID:  <Pine.BSF.3.96.970803135110.6060A-100000@andrsn.stanford.edu>
In-Reply-To: <Pine.BSF.3.95.970803130843.8272A-100000@luke.cpl.net>

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


On Sun, 3 Aug 1997, Shawn Ramsey wrote:

> > On Fri, 1 Aug 1997, bomber wrote:
> > > 	pardon the newbie question, but what do i need to do to have Bash
> > > as the default shell for logins (including root)?

Actually if you use su -m to become root, root will have the original
user's shell.  The " -m " maintains environmental variables.

> > 
> > When you run adduser for the first time it prompts you for
> > default values, including the shell.  Set them there and
> > you are all set for future users.
> > 
> > As for root using bash, there is a school of thought that
> > root should not have a "comfortable" shell.  I subscribe to
> > that.  But it's your machine, just run vipw and change
> > root's shell if you want to.

As I recall I changed root's shell once (to tcsh) and got into a
bit of trouble.....I would like to know if root's shell can indeed
be set to anything.  If it's set to something that's not available
when the machine boots in single user mode, I think there's potential
for difficulty.

Anneise
> 
> Isnt "chsh username" a little easier?
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.970803135110.6060A-100000>