From owner-freebsd-questions Mon Aug 23 23:28:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gilliam.users.flyingcroc.net (gilliam.users.flyingcroc.net [207.246.128.2]) by hub.freebsd.org (Postfix) with ESMTP id 113AA150D8 for ; Mon, 23 Aug 1999 23:28:25 -0700 (PDT) (envelope-from ross@gilliam.users.flyingcroc.net) Received: (from ross@localhost) by gilliam.users.flyingcroc.net (8.9.3/8.9.3) id XAA04599; Mon, 23 Aug 1999 23:28:10 -0700 (PDT) Date: Wed, 18 Aug 1999 11:21:28 -0700 (PDT) Message-Id: <199908240628.XAA04599@gilliam.users.flyingcroc.net> From: Doug To: "Bill A. K." Cc: FreeBSD Questions Subject: Re: roots shell Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message