Group: comp.os.linux.setup


Subject: last known good configuration
From: Bill Marcum
Date: 10/24/2007 3:02:28 PM
On 2007-10-24, wong_powah@yahoo.ca <wong_powah@yahoo.ca> wrote: > Is there a way to setup a last known good configuration for some > configuration files? > e.g. /etc/ssh/sshd_config > I want to save some configuration files in case the computer go wrong > and I can restore a good configuration file. > Is Samhain or Aide overkill for my purpose? > or do I write my own program? > Aide notifies you when files have changed, it doesn't keep copies of the files. I've heard that some people use cvs or other revision control systems.

Subject: last known good configuration
From: Jean-David Beyer
Date: 10/24/2007 8:33:23 PM
On 2007-10-24, wong_powah@yahoo.ca <wong_powah@yahoo.ca> wrote: > Is there a way to setup a last known good configuration for some > configuration files? > e.g. /etc/ssh/sshd_config > I want to save some configuration files in case the computer go wrong > and I can restore a good configuration file. > Is Samhain or Aide overkill for my purpose? > or do I write my own program? > What I do is use emacs editor on such files (I mostly use emacs anyway). When i use emacs to change a_file, it copies it to a_file~ first. When I am done, I rename the a_file~ to a_file.dist, or a_file.good, or whatever seems to make most sense. I do not modify those things very much. -- .~. Jean-David Beyer Registered Linux User 85642. /V\ PGP-Key: 9A2FC99A Registered Machine 241939. /( )\ Shrewsbury, New Jersey http://counter.li.org ^^-^^ 16:25:01 up 1 day, 8:43, 5 users, load average: 5.31, 5.59, 5.38