Date: Thu, 25 May 2000 11:46:20 -0500 From: "Alejandro Ramirez" <ales@megared.net.mx> To: "Kirk McDonald" <kirem@optusnet.com.au>, <freebsd-questions@FreeBSD.ORG> Cc: "Doug Barton" <DougB@gorean.org> Subject: Re: master.password problem Message-ID: <039d01bfc668$c1453560$d2630a0a@megared.net.mx> References: <392889BB.9919C098@optusnet.com.au> <3928D82F.790A5850@gorean.org> <3929DAF7.9C6557B3@optusnet.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Try "/var/backups/master.passwd.bak" there you will find a backup of this file. Have Fun... Ales ----- Original Message ----- From: "Kirk McDonald" <kirem@optusnet.com.au> To: <freebsd-questions@FreeBSD.ORG> Cc: "Doug Barton" <DougB@gorean.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?039d01bfc668$c1453560$d2630a0a>