From owner-freebsd-questions Wed Aug 18 12:29:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ns.clientlogic.com (ns.clientlogic.com [207.51.66.75]) by hub.freebsd.org (Postfix) with ESMTP id 278DB15AB1 for ; Wed, 18 Aug 1999 12:29:44 -0700 (PDT) (envelope-from ChrisMic@clientlogic.com) Received: by site0s1 with Internet Mail Service (5.5.2448.0) id ; Wed, 18 Aug 1999 15:30:20 -0400 Message-ID: <6C37EE640B78D2118D2F00A0C90FCB4401105BA6@site2s1> From: Christopher Michaels To: "'Bill A. K.'" , FreeBSD Questions Subject: RE: roots shell Date: Wed, 18 Aug 1999 15:32:52 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bill, Many people have given many solutions. There is one thing, that all of the commands given do, that no one has mentioned to you. After you edit the master.passwd file you need to rebuild the database for it, by running the pwd_mkdb. If you don't run pwd_mkdb the system ignores any changes that you've made in master.passwd. The easier solution is to use use "vipw" which opens up the master.passwd file with vi (or whatever editor EDITOR is set to). Also, using the chfn, chpass, & chsh all also run the pwd_mkdb command after making your edits. Hopes this helps. -Chris > -----Original Message----- > From: Bill A. K. [SMTP:billieakay@yahoo.com] > Sent: Wednesday, August 18, 1999 9:40 AM > To: FreeBSD Questions > Subject: roots shell > > 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