Date: Tue, 08 Jan 2002 20:49:42 -0000 From: Matthew Whelan <muttley@gotadsl.co.uk> To: pjklist@ekahuna.com, Michael Gratton <mike@vee.net> Cc: stable@FreeBSD.ORG Subject: Re: Using bash as default shell for root Message-ID: <EB93NM2WTSUSOM97BXU3W1U5YNMFHC.3c3b5b66@VicNBob> In-Reply-To: <3C3A9AD3.1090803@vee.net>
next in thread | previous in thread | raw e-mail | index | archive | help
>> And I wasn't sure >> there were any other issues to using bash as root's default shell. > >It is apparently incompatible with sh in a few areas, but I've never run >into any problems using it for day-to-day work as root. I'd suggest you >would probably be safe using it as the default shell, IMHO, of course. 8) But tcsh doesn't even try to be compatible with sh ;p I have seen incompatibilities demonstrated, but my recollection is you're pretty unlikely to run into them, unless someone's demonstrating them. Point is, any script running in sh on FreeBSD -must- specify a #! line so default shell is irrelevant. Personally I have to say I was somewhat surprised when I first installed FreeBSD and discovered the default root shell was tcsh - I've certainly been taught in the past with other unices to fear non-sh-like default shell for root on the (possibly over-paranoid) grounds that quite a lot of unices might have support scripts hiding away here and there without a #! line. Obviously one can trust FBSD a bit more than that, but I'd imagine that most people working with other unices would be used to running sh or derivatives as root. Matthew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EB93NM2WTSUSOM97BXU3W1U5YNMFHC.3c3b5b66>