From owner-freebsd-questions Wed Aug 18 11:15:42 1999 Delivered-To: freebsd-questions@freebsd.org Received: from fingers.shocking.com (shocking.com [216.111.111.11]) by hub.freebsd.org (Postfix) with ESMTP id 363F41505E for ; Wed, 18 Aug 1999 11:15:38 -0700 (PDT) (envelope-from doemill@shocking.com) Received: from shocking.com (doemill@shocking.com [216.111.111.11]) by fingers.shocking.com (8.9.0/8.9.0) with ESMTP id LAA15879; Wed, 18 Aug 1999 11:13:03 -0700 (PDT) Date: Wed, 18 Aug 1999 11:13:03 -0700 (PDT) From: Doug 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 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