From owner-freebsd-questions Mon Apr 12 15:47:33 1999 Delivered-To: freebsd-questions@freebsd.org Received: from gold.sdln.net (gold.sdln.net [204.52.252.74]) by hub.freebsd.org (Postfix) with ESMTP id 739A814D34 for ; Mon, 12 Apr 1999 15:47:26 -0700 (PDT) (envelope-from cchrstns@sdln.net) Received: from Hermes (hermes.sdln.net [204.52.252.93]) by gold.sdln.net (8.8.8/8.8.8) with SMTP id QAA11416 for ; Mon, 12 Apr 1999 16:45:07 -0600 (MDT) (envelope-from cchrstns@sdln.net) Message-ID: <001b01be8536$4dbe5500$5dfc34cc@sdln.net> From: "Corey A. Christians" To: Subject: Removing a user without using the rmuser command Date: Mon, 12 Apr 1999 16:46:28 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0018_01BE8504.02F18A60" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.0810.800 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0018_01BE8504.02F18A60 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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: Retype new password: passwd: updating the database... pwd_mkdb: corrupted entry pwd_mkdb: at line #16 pwd_mkdb: /etc/pw.d11053: Inappropriate file type or format passwd: /etc/master.passwd: unchanged Does anyone know what I need to do to fix this problem ~~~~~~~~~~~~~~ | Corey Christians | South Dakota Library Network | Programmer/Analyst | Phone: 605-642-6732 |1200 University, Spearfish, SD, 57799 ------=_NextPart_000_0018_01BE8504.02F18A60 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I recently removed a user form my = FreeBSD machine=20 without running the rmuser command.  I deleted the entry in the=20 master.passwd file, the passwd file and I deleted his home directory and = all of=20 his files (that I know of).  I think that there are changes that I = also=20 have to make to the spwd.db file and the pwd.db file but I am = uncertain. =20 Whenever I try to change a passwd this is the message that I get from = the=20 machine:
 
Retype new password:
passwd: = updating the=20 database...
pwd_mkdb: corrupted entry
pwd_mkdb: at line = #16
pwd_mkdb:=20 /etc/pw.d11053: Inappropriate file type or format
passwd: = /etc/master.passwd:=20 unchanged
 
Does anyone know what I need to do to = fix this=20 problem
 
 
~~~~~~~~~~~~~~
| Corey = Christians
| South=20 Dakota Library Network
| Programmer/Analyst
| Phone: =20 605-642-6732
|1200 University, Spearfish, SD,=20 57799
------=_NextPart_000_0018_01BE8504.02F18A60-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message