One more follow up: I added a new user. then tried to change the users password with the passwd command and I get the same results:
pwd_mkdb: corrupted entrypwd_mkdb: at line #25pwd_mkdb: /etc/ptmp: Inappropriate file type or formatpasswd: /etc/master.passwd: unchanged > From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]; misc@openbsd.org> Subject: Re: can't change password with passwd comand> Date: Wed, 21 Nov 2007 01:13:56 +0100> > Hi Clint, Yes I am the one. as for changing the password this seems to> happen to any user except for the root acount, I am able to use passwd to> change the root account password. Here is line 24: (I removed the password> and real usernmame) username::1000:0::0:0:username:/home/username:/bin/ksh I> don't know if this matters but there is no ptmp file in the /etc directory> (no was there before I followed your earlier instructions)> Date: Tue, 20 Nov> 2007 15:59:52 -0700> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> CC:> misc@openbsd.org> Subject: Re: can't change password with passwd comand> >> Jumping Mouse wrote:> > Hi Clint and others,> >> > I tried:> >> > > >> # rm> spwd* pwd* passwd* ptmp> # pwd_mkdb /etc/master.passwd> >> > >> > then> >> #passwd username> >> > but I am still getting: (for all users)> >> > pwd_mkdb:> corrupted entrypwd_mkdb: at line #24pwd_mkdb: /etc/ptmp:> > Inappropriate file> type or formatpasswd: /etc/master.passwd: unchanged> >> > I have searched the> faqs but have not been able to find a good solution to> > this issue. Does> anyone have any thoughts?> > > > Does line #24 have a subtle error? Check the> format against passwd(5).> > BTW, are you the guy that inherited an OpenBSD> system without a root > account?> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/