From owner-freebsd-questions Mon Sep 7 14:30:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA09359 for freebsd-questions-outgoing; Mon, 7 Sep 1998 14:30:25 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from kstreet.interlog.com (kstreet.interlog.com [198.53.146.171]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA09352 for ; Mon, 7 Sep 1998 14:30:20 -0700 (PDT) (envelope-from kws@kstreet.interlog.com) Received: (from kws@localhost) by kstreet.interlog.com (8.9.1/8.8.8) id RAA23952; Mon, 7 Sep 1998 17:29:42 -0400 (EDT) (envelope-from kws) To: Dr R D Gidden Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Invalid master.passwd file References: From: Kevin Street Date: 07 Sep 1998 17:29:42 -0400 In-Reply-To: Dr R D Gidden's message of "Mon, 07 Sep 1998 18:17:24 +0000 (GMT)" Message-ID: <87hfyj4nnd.fsf@kstreet.interlog.com> Lines: 24 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dr R D Gidden writes: > I've done something stupid while running adduser > which has left /etc/master.passwd looking like > /etc/passwd, ie with a single * in the password field > instead of the encrypted gobbledegook. snip > I have over 700 users in this file (AARGH!): is it possible > to work back from the .db file(s)? My backup was just > *before* a whole slew of new users were added :-(( Bob, I don't know about working backwards from the .db files, but have you checked in /var/backups to see if there's a good version there? The standard cron jobs backup master.passwd daily if it has been changed, at least they do on FreeBSD 3.0. (I'm assuming that when you say "my backup" you mean system backups you've done yourself) -- Kevin Street street@iName.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message