Determining which config files I have modified?

Adam Funk a24061 at
Tue Aug 7 11:22:27 UTC 2007

On 2007-08-06, Marius Gedminas wrote:

>> I already use aide, but I don't keep the old reports or databases
>> indefinitely (my current aide.db reflects my customizations up to last
>> night, for example).

>> I was hoping for some sort of apt-based trick to go through packages
>> comparing checksums in the packages with those of the files on disk.
> That's exactly what debsums does.  Caveats:
>   * you have to explicitly ask debsums to list changes in configuration
>     files
>   * not all packages come with MD5SUMS files, so you may want to install
>     the apt hook described in the debsums manual page to generate those

Good suggestion.  I'm looking into it.

> Personally I've acquired a habit of always creating a copy named *.orig
> before I modify any config file.  This way I can easily see the changed
> I've made.

Good suggestion too!  I think doing exactly that in certain places
(/etc/logrotate.d/, I think) can screw things up, however.

More information about the ubuntu-users mailing list