Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Apr 2005 11:28:05 -0500
From:      Glen Smith <gesmith@spcrepair.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Cc:        Ruben de Groot <mail25@bzerk.org>
Subject:   Re: Suggestions for post rm -rf /etc/*
Message-ID:  <20050417162805.GA8531@spcrepair.com>
In-Reply-To: <20050417113019.GA16668@ei.bzerk.org>
References:  <20050417075241.GA3880@spcrepair.com> <20050417113019.GA16668@ei.bzerk.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050417162805.GA8531>