Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to keep my whole /etc folder in a git repository to track unauthorised changes by intruders and find out mistakes I could have done myself.

What would be the right way to achieve this?

share|improve this question
up vote 3 down vote accepted

Have a look at the above ... I was looking along the same....

Hope that helps

share|improve this answer
Some more useful suggestions and ofcourse etckeeper is mentioned too… – rihatum Nov 1 '12 at 22:59
thx, that was what I needed – rubo77 Nov 1 '12 at 23:49

Look into etckeeper, there have been packages of it for Debian/Ubuntu for some time now, and likely packages are available for other distributions as well.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.