Ok, Ok I get the point. I agree that posting line 24 will not help, any user
except root gives the same issues. And as a last and final attempt I will
check the end of the file for any spaces as Clint suggested.
finally:
What if I try a master.passwd file form a working machine of same Build.
lier 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,> >> >
ange 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> >> >
hanged
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
wit
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?
http://messenger.msn.clic
d.org> Subject:
Re: lost root account> > Boot> your machine in single user mode (boot -s) and>
use plain vi and pwd_mkdb soon> after that.> > There's no need to use vipw
when running in boot -s.> > On Nov> 19, 2007 5:18 PM, Jumping Mouse
<[EMAIL PROTECTED]>
@openbsd.org> > > --- Jumping
Mouse <[EMAIL PROTECTED]> wrote:> > > Hi there, I have inherited an openBSD
machine with no root account. > > When I> > boot up in single user mode boot
-s and do a cat> > /etc/master.passwd | root> > the only thing I get is:
n boot -s.> > On Nov
19, 2007 5:18 PM, Jumping Mouse <[EMAIL PROTECTED]> wrote:> > Hi there, I
have inherited an openBSD machine with no root account. When I> > boot up in
single user mode boot -s and do a cat /etc/master.passwd | root> > the only
thing I get is: daemon:*:1:1
Hi there, I have inherited an openBSD machine with no root account. When I
boot up in single user mode boot -s and do a cat /etc/master.passwd | root
the only thing I get is: daemon:*:1:1::0:0:The devil
himself:/root:/sbin/nologin I can't seem to make changes to the master.passwd
account by
9 matches
Mail list logo