Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 1999 15:32:52 -0400
From:      Christopher Michaels <ChrisMic@clientlogic.com>
To:        "'Bill A. K.'" <billieakay@yahoo.com>, FreeBSD Questions <questions@freebsd.org>
Subject:   RE: roots shell
Message-ID:  <6C37EE640B78D2118D2F00A0C90FCB4401105BA6@site2s1>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C37EE640B78D2118D2F00A0C90FCB4401105BA6>