From owner-freebsd-questions@FreeBSD.ORG Sun Apr 17 16:28:07 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9503016A4CE for ; Sun, 17 Apr 2005 16:28:07 +0000 (GMT) Received: from mail.spcrepair.com (12-219-29-187.client.mchsi.com [12.219.29.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 061D143D3F for ; Sun, 17 Apr 2005 16:28:07 +0000 (GMT) (envelope-from gesmith@spcrepair.com) Received: by mail.spcrepair.com (Postfix, from userid 1000) id 2DAA7173E0; Sun, 17 Apr 2005 11:28:06 -0500 (CDT) Date: Sun, 17 Apr 2005 11:28:05 -0500 From: Glen Smith To: freebsd-questions Message-ID: <20050417162805.GA8531@spcrepair.com> Mail-Followup-To: freebsd-questions , Ruben de Groot References: <20050417075241.GA3880@spcrepair.com> <20050417113019.GA16668@ei.bzerk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050417113019.GA16668@ei.bzerk.org> User-Agent: Mutt/1.4.2i Organization: Smith's PC Repair X-URL: http://www.spcrepair.com X-GPG-Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA9FD7D31 X-GPG-Fingerprint: 9A4D FB5A 934E 335B 7B14 2E80 D3CD B41D A9FD 7D31 cc: Ruben de Groot Subject: Re: Suggestions for post rm -rf /etc/* X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Glen Smith List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2005 16:28:07 -0000 Hi Ruben On Sun, 17 Apr 2005, Ruben de Groot wrote: > On Sun, Apr 17, 2005 at 02:52:41AM -0500, Glen Smith typed: > > Anyone have a suggestion for fixing a machine three states away after > > you rm -rf * dir/* inside of /etc or am I just screwed. I even had zsh > > ask me if that's what I really want to do. ::sob:: > > Well, asuming you don't have any backups (shame on you!) and you have the > sources installed, you could do > > cd /usr/src/etc > make distribution > > this will give you back all default files in /etc. Copies of your > original master.passwd, aliases and group files can be found in > /var/backups > > Ruben How I love FreeBSD more and more. Thanks alot. This really helped. Oh yeah, shame on me. Sincerely, Glen Smith -- IT/Network Administrator Smith's PC Repair & Consulting http://www.spcrepair.com