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?
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?
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.
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