Written by James McDonald

January 18, 2016

Just discovered etckeeper

yum install etckeeper

etckeeper init -d /etc

etckeeper commit "Inital Commit"

Once you have done the above, your /etc will be under git version control.  You can then make changes to configuration files in /etc/* and etckeeper will commit your changes to git at a regular interval and thus give you the ability to roll back if you make a detrimental change.

etckeeper installs the scripts and cron jobs that will auto-commit changes daily ( be warned some packages i.e. webmin update files in /etc daily so you will end up with a lot of versions )

 

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

Clear HSTS Settings in CHrome

Open chrome://net-internals/#hsts enter the domain in the query field and click Query to confirm it has HSTS settings...

Ubuntu on Hyper-v

It boils town to installing linux-azure # as root or sudo apt-get update apt-get install linux-azure...