Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!spool.mu.edu!news.sgi.com!news.nacamar.de!uunet!in3.uu.net!165.254.2.53!nonexistent.com!not-for-mail From: Nadav <nadavr@actcom.co.il> Subject: Re: Changing the default shell for ... Content-Type: text/plain; charset=us-ascii X-Nntp-Posting-User: noname To: tonyg@OntheNet.com.au Content-Transfer-Encoding: 7bit Message-ID: <E6p7nL.FA3@nonexistent.com> References: <01bbede1$59bcf1c0$664c1bcc@tony.gcr1.com> <331CC761.4893@OntheNet.com.au> X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.29 i586) Mime-Version: 1.0 X-Trace: 857780477/18813 X-Nntp-Posting-Host: p15.haifa3.actcom.co.il Date: Sat, 8 Mar 1997 00:21:50 GMT Lines: 23 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:36787 You might as well wish to add it to your /etc/shells to make it available to other users in the system. Nadav Tony Griffiths wrote: > > 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