From owner-freebsd-questions Thu Dec 2 13:46:41 1999 Delivered-To: freebsd-questions@freebsd.org Received: from orion.ac.hmc.edu (Orion.AC.HMC.Edu [134.173.32.20]) by hub.freebsd.org (Postfix) with ESMTP id CC85F14FD2 for ; Thu, 2 Dec 1999 13:46:37 -0800 (PST) (envelope-from brdavis@orion.ac.hmc.edu) Received: (from brdavis@localhost) by orion.ac.hmc.edu (8.8.8/8.8.8) id NAA19092; Thu, 2 Dec 1999 13:42:33 -0800 (PST) Date: Thu, 2 Dec 1999 13:42:32 -0800 From: Brooks Davis To: Jonathon McKitrick Cc: Annelise Anderson , Phil Homewood , Alfred Perlstein , freebsd-questions@FreeBSD.ORG Subject: Re: root shell/toor shell Message-ID: <19991202134232.A16827@orion.ac.hmc.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre4i In-Reply-To: ; from jcm@dogma.freebsd-uk.eu.org on Thu, Dec 02, 1999 at 09:34:49PM +0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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