From owner-freebsd-questions Wed Apr 14 13:32:51 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id B3F221587D for ; Wed, 14 Apr 1999 13:32:43 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id NAA02244; Wed, 14 Apr 1999 13:30:02 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Wed, 14 Apr 1999 13:30:00 -0700 (PDT) From: Doug White To: "Corey A. Christians" Cc: questions@FreeBSD.ORG Subject: Re: Removing a user without using the rmuser command In-Reply-To: <001b01be8536$4dbe5500$5dfc34cc@sdln.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Please wrap your lines, thanks. On Mon, 12 Apr 1999, Corey A. Christians wrote: > I recently removed a user form my FreeBSD machine without running the > rmuser command. I deleted the entry in the master.passwd file, the > passwd file and I deleted his home directory and all of his files > (that I know of). I think that there are changes that I also have to > make to the spwd.db file and the pwd.db file but I am uncertain. > Whenever I try to change a passwd this is the message that I get from > the machine: NEVER NEVER EDIT PASSWD DIRECTLY! ALWAYS USE vipw! I wish we could abolish passwd and force everyone to use getpwent() like they should. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message