Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2008 09:14:39 +0200
From:      "DA Forsyth" <iwrtech@iwr.ru.ac.za>
To:        freebsd-questions@freebsd.org
Cc:        sbremal@hotmail.com
Subject:   Re: /etc/groups gone
Message-ID:  <48AE837F.11627.4B44788@iwrtech.iwr.ru.ac.za>
In-Reply-To: <20080822064429.0C4B11065764@hub.freebsd.org>
References:  <20080822064429.0C4B11065764@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22 Aug 2008 , freebsd-questions-request@freebsd.org entreated 
about
 "freebsd-questions Digest, Vol 229, Issue 13":

> Hi,
> 
> Yesterday night at 1 a.m. I have managed to remove /etc/groups (rm instead of
> vi, was already sleepying). Luckily only a few groups (2-3) was created
> earlier. No backup, "of course".

you want to do
man rcs
and start using RCS to track changes to your important system files.
That way, if you delete one you can just check it out of the RCS 
store.  'backups with history'


--
       DA Fo rsyth            Network Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48AE837F.11627.4B44788>