Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 manage a server a lot of people have root access to (I know this is another issue...). I'm working on training them all to request config changes through me but on occasion someone makes a change to a config file without telling someone me.

In the interest of keeping my sanity I was thinking about setting up a cronjob to autocommit the contents of /etc/ to my subversion repository every 5 minutes and email me if there are any changes.

Is there another system available to automatically do this?

I'm not crazy about making my whole /etc/ dir a working copy so I was thinking I would rsync /etc to another dir and then write some shell scripts to automatically add and remove the entries from subversion.

Does this seem like a reasonable thing to do? Is there a better way to handle this situation?

share|improve this question

Having /etc in svn makes sense, but I hope that your mates at least document what they change, so you could see what was changed in "human-readable" form and also who made the changes.

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.