Date: Wed, 18 Aug 1999 09:40:34 -0400 (EDT) From: Zhihui Zhang <zzhang@cs.binghamton.edu> To: "Bill A. K." <billieakay@yahoo.com> Cc: FreeBSD Questions <questions@FreeBSD.ORG> Subject: Re: roots shell Message-ID: <Pine.GSO.3.96.990818093817.21929A-100000@sol.cs.binghamton.edu> In-Reply-To: <002b01bee97f$2a3fdf60$01010101@bopper>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.990818093817.21929A-100000>