From owner-freebsd-questions Mon Oct 6 14:31:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA00489 for questions-outgoing; Mon, 6 Oct 1997 14:31:06 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from horton.iaces.com (root@horton.iaces.com [204.147.87.98]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA00481 for ; Mon, 6 Oct 1997 14:31:02 -0700 (PDT) (envelope-from proot@horton.iaces.com) Received: (from proot@localhost) by horton.iaces.com (8.8.5/8.8.5) id PAA28503; Mon, 6 Oct 1997 15:56:47 -0500 (CDT) From: "Paul T. Root" Message-Id: <199710062056.PAA28503@horton.iaces.com> Subject: Re: change default shell for root To: wweng@stevens-tech.edu (Wei Weng) Date: Mon, 6 Oct 1997 15:56:47 -0500 (CDT) Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: from Wei Weng at "Oct 6, 97 04:04:15 pm" X-Organization: !nterprise Networking Services - ACES X-Phone: (612) 664-3385 X-Fax: (612) 664-4779 X-Page: (800) SKY-PAGE PIN: 537-7270 X-Address: 600 Stinson Blvd, Fl 1S X-Address: Minneapolis, MN 55413 X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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