2

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?

rubo77
  • 2,282
  • 3
  • 32
  • 63

2 Answers2

4

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.

qqx
  • 278
  • 1
  • 5
3

http://aymanh.com/version-control-linux-configuration-files-etc-etckeeper

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

Hope that helps

Mutahir
  • 2,347
  • 2
  • 32
  • 42