From owner-freebsd-questions Wed Aug 18 21:37:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mail.greatbasin.net (mail.greatbasin.net [207.228.35.39]) by hub.freebsd.org (Postfix) with ESMTP id 2AF72150CA for ; Wed, 18 Aug 1999 21:37:42 -0700 (PDT) (envelope-from dan@jgl.reno.nv.us) Received: from pandora.home (rno-max7-18.gbis.net [207.228.61.210]) by mail.greatbasin.net (8.9.3/8.9.3) with ESMTP id VAA20754; Wed, 18 Aug 1999 21:37:40 -0700 (PDT) Received: from danco (danco.home [10.0.0.2]) by pandora.home (8.9.3/8.9.2) with SMTP id VAA62163; Wed, 18 Aug 1999 21:37:34 -0700 (PDT) (envelope-from dan@jgl.reno.nv.us) Message-ID: <02ba01bee9fc$8ff856c0$0200000a@home> From: "Dan O'Connor" To: "Doug" Cc: "FreeBSD Questions" References: <002b01bee97f$2a3fdf60$01010101@bopper> <37BB45F2.71B6FFD3@gorean.org> Subject: Re: roots shell Date: Wed, 18 Aug 1999 21:27:31 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > is there any way to change root's default shell from csh to bash. > > Yes there is, but it's a bad idea. Several people have already pointed out > some reasons why. An additional alternative to su -m is to put the > following in /root/.login: > > [ -x /usr/local/bin/bash] && exec /usr/local/bin/bash > > That will start bash for you if it's available, and if it isn't you can > still log in. What a great idea! I can't believe I've been living with csh all this time when, if not in single user mode, I didn't have too... Thanks for making my day! --Dan ** The thing I like most about Windows 98 is... ** You can download FreeBSD with it! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message