From owner-freebsd-questions Sat Jan 5 12: 6:13 2002 Delivered-To: freebsd-questions@freebsd.org Received: from gamma.root-servers.ch (gamma.root-servers.ch [195.49.62.126]) by hub.freebsd.org (Postfix) with SMTP id 7E7DA37B419 for ; Sat, 5 Jan 2002 12:06:10 -0800 (PST) Received: (qmail 16631 invoked from network); 5 Jan 2002 20:06:08 -0000 Received: from dclient217-162-128-224.hispeed.ch (HELO athlon550) (217.162.128.224) by 0 with SMTP; 5 Jan 2002 20:06:08 -0000 Date: Sat, 5 Jan 2002 21:07:39 +0100 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.54 Beta/19) Educational Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <99108762362.20020105210739@buz.ch> To: questions@freebsd.org Subject: Recovering master.passwd from pwd.db? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hello, it's embarrassing enough, but I managed to accidentally overwrite master.passwd (using mergemaster, which, IMHO, shouldn't even consider to update master.passwd!) but then figured that if I don't hit pwd_mkdb, the pw db will remain intact, now is there any easy way to regenerate master.passwd from pwd.db (inverted pwd_mkdb so to speak) or do I need to dig out the backups? (for some reasons, there ain't no backup of master.passwd in var) Best regards, Gabriel -----BEGIN PGP SIGNATURE----- Version: PGP 6.5i iQEVAwUBPDdO/8Za2WpymlDxAQHGbQf9GWojcSqvCH8/AcYvHWRXUL2n6rsjFWqB OcEhSsBEzdPQ1C6onVMAl+1FK/oxWDHMjGmPIRwZyM2Zy+MWbvWogNSNi4+SO1sg QDS+3igij+CrAlTghNuouBDhPbtQra9g6FTQRdgfVDhIVwWq7/yDtrahXa2t8dX7 NhKWr8UKv6GIHzQJE2wc6qGxz/R8ehSe9D/IyeK21GzdP5AUNxvGSTFzhw/9TOie OzFLlOUw5R/lfm47F8aekceyMAnVBzlF1yn0rgNVBQQqQ1wYE5iFXY/ngVag2a/m v97qUgU465k305PTReriCfPg5vktXxQG3fmmuYV0w+b9JB4yMSTLbQ== =d2Ne -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message