I am upgrading a fairly old server and I wish to find all of the system config files that I may have previously edited e.g. samba (smb.conf), NFS (exports), networking etc. Bash history can't help with this particular server. I know I've edited some, but can't remember which...
You can use debsums to do this. From the man page:
You will need to install debsums yourself as it is not installed by default.
I found when I tested this that it complained about most packages not having md5 checksums so I ran
This looks for packages that did not install their md5sums files. Then, it will generate those md5sums files from the binary packages downloaded via APT if available.
Once that was completed I ran :
and that produces a file called changed-configs.txt that lists configuration changes made locally compared to the files provided from the repositories.
I think that should provide what you need.
If you edited them via the terminal, you could search your bash history. i.e.
I've done this a few times on a server when I was trying to document what I had done previously. It would be a good idea to back up your bash_history first though.