*BSD News Article 63995


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!newsfeed.internetmci.com!EU.net!sun4nl!Utrecht.NL.net!news.iaf.nl!news.es.iaf.nl!yedi!wilko
From: wilko@yedi.iaf.nl (Wilko Bulte)
Subject: Re: Is replacing /bin/sh with bash recommended?
Organization: Private FreeBSD site - Arnhem, The Netherlands 
Message-ID: <DoMvt2.19D@yedi.iaf.nl>
References: <4ih5qb$lae@blackice.winternet.com> <4iq2s6$33o@electra.saaf.se>
Date: Thu, 21 Mar 1996 20:05:26 GMT
Lines: 20

gorhas@electra.saaf.se (G|ran Hasse) writes:

>In article <4ih5qb$lae@blackice.winternet.com>,
>John D. Boggs <jdb@robigo.winternet.com> wrote:
>>What sort of nasties (if any) should I expect if I replace /bin/sh
>>with bash in FreeBSD-2.1.0?  
>>

>You should NOT!!! do this. Some system scripts might use /bin/sh or some
>future programmer might use /bin/sh as the "old" shell. You could freely use
>bash everywere you like without replacing the old shell...

>>John D. Boggs            \ The great thing about human language is

Whatever shell you want to put there: link it statically. 
I once replaced /bin/sh with bash which proved to be linked to the
shared libs on the next reboot... ;-)

Wilko