From owner-freebsd-questions Tue Oct 7 05:21:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id FAA21199 for questions-outgoing; Tue, 7 Oct 1997 05:21:11 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from mail.virginia.edu (mail.Virginia.EDU [128.143.2.9]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id FAA21193 for ; Tue, 7 Oct 1997 05:21:08 -0700 (PDT) (envelope-from atf3r@cs.virginia.edu) Received: from mail.cs.virginia.edu by mail.virginia.edu id aa10512; 7 Oct 97 8:21 EDT Received: from stretch.cs.virginia.edu (atf3r@stretch-fo.cs.Virginia.EDU [128.143.136.14]) by ares.cs.Virginia.EDU (8.8.5/8.8.5) with ESMTP id IAA17551; Tue, 7 Oct 1997 08:21:05 -0400 (EDT) Received: (from atf3r@localhost) by stretch.cs.virginia.edu (8.8.5/8.8.5) id IAA22751; Tue, 7 Oct 1997 08:21:04 -0400 (EDT) Date: Tue, 7 Oct 1997 08:21:01 -0400 (EDT) From: "Adrian T. Filipi-Martin" Reply-To: adrian@virginia.edu To: Wei Weng cc: freebsd-questions@freebsd.org Subject: Re: change default shell for root In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Mon, 6 Oct 1997, Wei Weng wrote: > 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 DO NOT edit master.passwd unless you really, really need to. Use vipw instead. vipw will rebuild the user database automagically for you as well as check for accidental corruption of the passwd file. The lack of the DB rebuild is your problem. Adrian -- adrian@virginia.edu ---->>>>| If I were stranded on a desert island, and System Administrator --->>>| I could only have one OS for my computer, Neurosurgical Visualzation Lab -->>| it would be FreeBSD. Think about it..... http://www.nvl.virginia.edu/ ->| http://www.freebsd.org/