Date: Mon, 12 Apr 1999 16:46:28 -0600 From: "Corey A. Christians" <cchrstns@sdln.net> To: <questions@FreeBSD.ORG> Subject: Removing a user without using the rmuser command Message-ID: <001b01be8536$4dbe5500$5dfc34cc@sdln.net>
next in thread | raw e-mail | index | archive | help
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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN"> <HTML><HEAD> <META content=3Dtext/html;charset=3Diso-8859-1 = http-equiv=3DContent-Type> <STYLE></STYLE> <META content=3D'"MSHTML 5.00.0910.1309"' name=3DGENERATOR></HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>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:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Retype new password:<BR>passwd: = updating the=20 database...<BR>pwd_mkdb: corrupted entry<BR>pwd_mkdb: at line = #16<BR>pwd_mkdb:=20 /etc/pw.d11053: Inappropriate file type or format<BR>passwd: = /etc/master.passwd:=20 unchanged</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>Does anyone know what I need to do to = fix this=20 problem</FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV><FONT face=3DArial size=3D2>~~~~~~~~~~~~~~<BR>| Corey = Christians<BR>| South=20 Dakota Library Network<BR>| Programmer/Analyst<BR>| Phone: =20 605-642-6732<BR>|1200 University, Spearfish, SD,=20 57799</FONT></DIV></BODY></HTML> ------=_NextPart_000_0018_01BE8504.02F18A60-- 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?001b01be8536$4dbe5500$5dfc34cc>