From owner-freebsd-questions Mon May 22 18:12:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail04.syd.optusnet.com.au (mail04.syd.optusnet.com.au [203.2.75.107]) by hub.freebsd.org (Postfix) with ESMTP id 386D037BB35 for ; Mon, 22 May 2000 18:12:19 -0700 (PDT) (envelope-from kirem@optusnet.com.au) Received: from optusnet.com.au (adlax3-126.dialup.optusnet.com.au [198.142.82.126]) by mail04.syd.optusnet.com.au (8.9.3/8.9.3) with ESMTP id LAA31651; Tue, 23 May 2000 11:12:09 +1000 Message-ID: <3929DAF7.9C6557B3@optusnet.com.au> Date: Tue, 23 May 2000 10:42:23 +0930 From: Kirk McDonald X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Cc: Doug Barton Subject: Re: master.password problem References: <392889BB.9919C098@optusnet.com.au> <3928D82F.790A5850@gorean.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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