Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 1999 13:42:32 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Jonathon McKitrick <jcm@dogma.freebsd-uk.eu.org>
Cc:        Annelise Anderson <andrsn@andrsn.stanford.edu>, Phil Homewood <philh@mincom.com>, Alfred Perlstein <bright@wintelcom.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: root shell/toor shell
Message-ID:  <19991202134232.A16827@orion.ac.hmc.edu>
In-Reply-To: <Pine.BSF.4.02A.9912022132560.95222-100000@dogma.freebsd-uk.eu.org>; from jcm@dogma.freebsd-uk.eu.org on Thu, Dec 02, 1999 at 09:34:49PM %2B0000
References:  <Pine.BSF.4.10.9912021311260.12785-100000@andrsn.stanford.edu> <Pine.BSF.4.02A.9912022132560.95222-100000@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 02, 1999 at 09:34:49PM +0000, Jonathon McKitrick wrote:
> Well, using chsh from toor tells me i am actually editing the root
> password entry.  The /etc/shells has 4 shells listed, all in their proper
> places.  But i still cannot seem to edit toor's entry.  In /etc/passwd,
> the entry and password for toor is different.  But for the login shell,
> the entry is blank.  I assum it uses the one for root here, and that may
> be the problem.  Isn't there command i have to run if i decide to edit
> /etc/passwd directly?

Use vipw to edit the password file and it will update the databases for
you.

-- Brooks


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?19991202134232.A16827>