From owner-freebsd-questions Mon Oct 6 22:07:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA26405 for questions-outgoing; Mon, 6 Oct 1997 22:07:38 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from jason03.u.washington.edu (root@jason03.u.washington.edu [140.142.77.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id WAA26397 for ; Mon, 6 Oct 1997 22:07:34 -0700 (PDT) (envelope-from jcwells@u.washington.edu) Received: from saul2.u.washington.edu (root@saul2.u.washington.edu [140.142.56.21]) by jason03.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.05) with ESMTP id WAA27580 for ; Mon, 6 Oct 1997 22:07:27 -0700 Received: from S8-37-26.student.washington.edu (S8-37-26.student.washington.edu [128.208.37.26]) by saul2.u.washington.edu (8.8.4+UW97.07/8.8.4+UW97.04) with SMTP id WAA15305 for ; Mon, 6 Oct 1997 22:07:26 -0700 (PDT) Message-Id: <3.0.3.32.19971007051054.007cfb10@jcwells.deskmail.washington.edu> X-Sender: jcwells@jcwells.deskmail.washington.edu X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Tue, 07 Oct 1997 05:10:54 +0000 To: freebsd-questions@freebsd.org From: Jason Wells Subject: Re: change default shell for root Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 16:04 10/6/97 -0400, you 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? Use vipw to edit anything to do with /etc/passwd and its children. There is a passwd_mkdb function that has not yet been performed after you edited your passwd files. Vipw runs this mkdb function for you. man vipw Have fun, Jason Wells P.S. I am finally back.... UNIX is sooo cool. How cool is it? So cool that I actually have a job doing some low power admin stuff. It is nice to use an OS that actually does what you tell it.