Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2000 10:42:23 +0930
From:      Kirk McDonald <kirem@optusnet.com.au>
To:        freebsd-questions@FreeBSD.ORG
Cc:        Doug Barton <DougB@gorean.org>
Subject:   Re: master.password problem
Message-ID:  <3929DAF7.9C6557B3@optusnet.com.au>
References:  <392889BB.9919C098@optusnet.com.au> <3928D82F.790A5850@gorean.org>

next in thread | previous in thread | raw e-mail | index | archive | help

I have done something really stupid, I removed the master.passwd file.
Is there anyway I can recreate it?
The trials and tribulation of learning.


Doug Barton wrote:
> 
> Kirk McDonald wrote:
> >
> > Can somebody help me out with this problem please?
> >
> > su-2.03# adduser
> > Use option ``-silent'' if you don't want to see all warnings and
> > questions.
> >
> > pwd_mkdb: line too long
> > pwd_mkdb: /etc/master.passwd: Inappropriate file type or format
> >
> > Invalid /etc/master.passwd - cannot add any users!
> 
>         You have to find the bad line in master.passwd and fix it. Compare the
> lines you've added to the ones already in the file, and try to figure
> out how they are different. Use 'pwd_mkdb -C /etc/master.passwd' to
> figure out if you've fixed it or not.
> 
> Good luck,
> 
> Doug
> --
>         "Live free or die"
>                 - State motto of my ancestral homeland, New Hampshire
> 
>         Do YOU Yahoo!?
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message


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?3929DAF7.9C6557B3>