From owner-freebsd-questions Thu May 25 9:47:20 2000 Delivered-To: freebsd-questions@freebsd.org Received: from unix.megared.net.mx (megamail.megared.com.mx [200.52.207.52]) by hub.freebsd.org (Postfix) with ESMTP id 4A3F237B756 for ; Thu, 25 May 2000 09:47:07 -0700 (PDT) (envelope-from ales@megared.net.mx) Received: from ales (ales.megared.net.mx [207.249.162.41]) by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id LAA08020; Thu, 25 May 2000 11:48:24 -0500 (CDT) (envelope-from ales@megared.net.mx) Message-ID: <039d01bfc668$c1453560$d2630a0a@megared.net.mx> From: "Alejandro Ramirez" To: "Kirk McDonald" , Cc: "Doug Barton" References: <392889BB.9919C098@optusnet.com.au> <3928D82F.790A5850@gorean.org> <3929DAF7.9C6557B3@optusnet.com.au> Subject: Re: master.password problem Date: Thu, 25 May 2000 11:46:20 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Try "/var/backups/master.passwd.bak" there you will find a backup of this file. Have Fun... Ales ----- Original Message ----- From: "Kirk McDonald" To: Cc: "Doug Barton" Sent: Monday, May 22, 2000 8:12 PM Subject: Re: master.password problem > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message