From owner-freebsd-questions Wed Aug 18 6:54: 5 1999 Delivered-To: freebsd-questions@freebsd.org Received: from bingnet2.cc.binghamton.edu (bingnet2.cc.binghamton.edu [128.226.1.18]) by hub.freebsd.org (Postfix) with ESMTP id BB83A14F41 for ; Wed, 18 Aug 1999 06:54:01 -0700 (PDT) (envelope-from zzhang@cs.binghamton.edu) Received: from sol.cs.binghamton.edu (cs1-gw.cs.binghamton.edu [128.226.171.72]) by bingnet2.cc.binghamton.edu (8.9.3/8.9.3) with SMTP id JAA26522; Wed, 18 Aug 1999 09:53:53 -0400 (EDT) Date: Wed, 18 Aug 1999 09:40:34 -0400 (EDT) From: Zhihui Zhang To: "Bill A. K." Cc: FreeBSD Questions Subject: Re: roots shell In-Reply-To: <002b01bee97f$2a3fdf60$01010101@bopper> 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, Bill A. K. wrote: > hi, > > is there any way to change root's default shell from csh to bash. i'm doing > a lot of work on my system and i'm sick of having to start bash at every > shell i open. any help would be greatly appreciated. > > i've already changed the path to my shell in both /etc/passwd and > /etc/master.passwd but it didn't change it. > > and i would also like to know how to customize my bash prompt with my > current directory for example. > I like the command history mechanism of tcsh. So whenever I install FreeBSD, I also install the tcsh port. After I login in as root, I do: # chpass -s tcsh root Next time I log in, I can use arrow keys to retrieve old commands. -Zhihui To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message