Date: Wed, 18 Aug 1999 11:13:03 -0700 (PDT) From: Doug <doemill@shocking.com> To: "Bill A. K." <billieakay@yahoo.com> Cc: FreeBSD Questions <questions@FreeBSD.ORG> Subject: Re: roots shell Message-ID: <Pine.BSI.4.05.9908181111340.14869-100000@fingers.shocking.com> In-Reply-To: <002b01bee97f$2a3fdf60$01010101@bopper>
next in thread | previous in thread | raw e-mail | index | archive | help
use 'chfn' to change your shell, and be sure to add it to /etc/shells also. and to change your current prompt to your username and current directory use PS1="\u \w# " Put that in your ~/.profile and ln -s your ~/.profile to .bashrc so it does it when you su to root also. 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. > > thanks > > Bill > billieakay@yahoo.com > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > | Doug | unix9.org admin | shocking.com/~doemill/ 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.BSI.4.05.9908181111340.14869-100000>