From owner-freebsd-questions Thu Aug 19 10:23:34 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dt010nb9.san.rr.com (dt010nb9.san.rr.com [204.210.12.185]) by hub.freebsd.org (Postfix) with ESMTP id 92F17151EE for ; Thu, 19 Aug 1999 10:23:31 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from localhost (doug@localhost) by dt010nb9.san.rr.com (8.9.3/8.8.8) with ESMTP id KAA56076; Thu, 19 Aug 1999 10:23:20 -0700 (PDT) (envelope-from Doug@gorean.org) Date: Thu, 19 Aug 1999 10:23:20 -0700 (PDT) From: Doug X-Sender: doug@dt010nb9.san.rr.com To: "Dan O'Connor" Cc: FreeBSD Questions Subject: Re: roots shell In-Reply-To: <02ba01bee9fc$8ff856c0$0200000a@home> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 18 Aug 1999, Dan O'Connor wrote: > > > 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! Well I can't take credit for it, but I'm happy to pass it along. IIRC I heard it first from Dag-Erling. > Thanks for making my day! Any time. :) Doug -- On account of being a democracy and run by the people, we are the only nation in the world that has to keep a government four years, no matter what it does. -- Will Rogers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message