From owner-freebsd-stable Tue Jan 8 12:49:56 2002 Delivered-To: freebsd-stable@freebsd.org Received: from marvin.nildram.co.uk (marvin.nildram.co.uk [195.112.4.71]) by hub.freebsd.org (Postfix) with SMTP id 63F4137B41F for ; Tue, 8 Jan 2002 12:49:49 -0800 (PST) Received: (qmail 10497 invoked from network); 8 Jan 2002 20:49:43 -0000 Received: from muttley.gotadsl.co.uk (HELO VicNBob) (213.208.123.26) by marvin.nildram.co.uk with SMTP; 8 Jan 2002 20:49:43 -0000 From: Matthew Whelan To: pjklist@ekahuna.com, Michael Gratton Cc: stable@FreeBSD.ORG Date: Tue, 08 Jan 2002 20:49:42 -0000 X-Priority: 3 (Normal) In-Reply-To: <3C3A9AD3.1090803@vee.net> Message-Id: Subject: Re: Using bash as default shell for root MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Mailer: Opera 6.0 build 1010 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >> 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