Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

2 Answers

up vote 3 down vote accepted

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

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

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
add comment

Your Answer

 
discard

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.