Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Oct 1997 15:56:47 -0500 (CDT)
From:      "Paul T. Root" <proot@horton.iaces.com>
To:        wweng@stevens-tech.edu (Wei Weng)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: change default shell for root
Message-ID:  <199710062056.PAA28503@horton.iaces.com>
In-Reply-To: <Pine.SGI.3.96.971006155959.12335A-100000@attila.stevens-tech.edu> from Wei Weng at "Oct 6, 97 04:04:15 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
In a previous message, Wei Weng said:
> Hi.
> I tried to change the default shell for root in passwd file and
> master.passed file to /usr/local/bin/bash. But when I exited even
> restarted , nothing has been changed. Could anyone tell me why this
> happened and how to solve it?
> 
> ja ne

Don't hand edit /etc/passwd and /etc/master.passwd. Use vipw. The real
stuff is in /etc/pwd.db, which pwd_mkdb generates.


-- 
"Income Tax is equitable because you make a buck; you pay a buck."
                - Irv Anderson, DFL Majority Leader, Minnesota House of Reps



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