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?



> Date: Mon, 19 Nov 2007 19:33:06 -0700> From: [EMAIL PROTECTED]> To:
[EMAIL PROTECTED]> CC: misc@openbsd.org> Subject: Re: can't change password
with passwd comand> > Jumping Mouse wrote:> > When I try to change a user
password I get an error.> > I do this:> >> > # passwd username> > enter a new
password and get: pwd_mkdb: corrupted entrypwd_mkdb: at line> > #24pwd_mkdb:
/etc/ptmp: Innapropriate file type or formatpasswd:> > etc/master.passwd
unchanged> >> > how can I fix this?> > > > # cd /etc> # cp -p spwd.db pwd.db
passwd /root/ # backup> # rm spwd* pwd* passwd* ptmp> # pwd_mkdb
/etc/master.passwd> # passwd <username> # try again>
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

Reply via email to