*BSD News Article 90159


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.syd.connect.com.au!news.bri.connect.com.au!fjholden.OntheNet.com.au!not-for-mail
From: Tony Griffiths <tonyg@OntheNet.com.au>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Changing the default shell for ...
Date: Wed, 05 Mar 1997 11:07:45 +1000
Organization: On the Net (ISP on the Gold Coast, Australia)
Lines: 16
Message-ID: <331CC761.4893@OntheNet.com.au>
References: <01bbede1$59bcf1c0$664c1bcc@tony.gcr1.com>
Reply-To: tonyg@OntheNet.com.au
NNTP-Posting-Host: swanee.nt.com.au
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (WinNT; I)
To: Tony <tony@gcr1.com>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36534

Tony wrote:
> 
> What do I modify to have the system boot up and load the BASH shell by
> default
> as root ...??
> 

If you want to change the default shell for 'root', simply edit the
"/etc/passwd" file (use vipw PLEASE!) and change the shell name (it's
the last entry on the line).  However, I would strongly advise putting a
copy of bash in /bin rather than the default location of /usr/local/bin
as the /usr filesystem is not mounted when you do a minimal (-s) startup
so your favorite shell will not be available until you have got this
filesystem mounted!

Tony