From owner-freebsd-questions Mon Feb 7 21:47:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by builder.freebsd.org (Postfix) with ESMTP id 7AFBF3E2B for ; Mon, 7 Feb 2000 21:46:55 -0800 (PST) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.12 #1) id 12I1L6-0008NP-00; Tue, 08 Feb 2000 03:29:20 +0000 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.12 #1) id 12I1L6-0001JP-00; Tue, 08 Feb 2000 03:29:20 +0000 Date: Tue, 8 Feb 2000 03:29:20 +0000 From: Ben Smithurst To: "James A. Mutter" Cc: Chris Byrnes , freebsd-questions@FreeBSD.ORG Subject: Re: AHH [passwd file gone] Message-ID: <20000208032920.C3663@strontium.scientia.demon.co.uk> References: <200002080104.TAA29043@shell.jeah.net> <389F6E8A.1A703A0B@ds.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <389F6E8A.1A703A0B@ds.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG James A. Mutter wrote: > Chris Byrnes wrote: > >> on one of the boxes i admin, i was testing the anon ftp i setup but i >> was su'd so when i did "get /etc/passwd" it put that one in /etc/ now >> the original master.passwd is there but the passwd file is gone > > Technically you didn't really need it in the first place - at this > point, if it wasn't too large you could easily recreate it. You can easily recreate it anyway - run vipw, save the file and exit your editor, and /etc/passwd will be recreated. (You need to write the file, otherwise vipw will assume nothing has changed and won't do anything.) This assumes, as is true in Chris' case, that master.passwd hasn't been hurt. -- Ben Smithurst / ben@scientia.demon.co.uk / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message