How to check what files have been customised in /etc?
Jonesy
SPAM_TRAP_gmane at jonz.net
Sun Dec 13 16:59:01 UTC 2020
On Sun, 13 Dec 2020 10:08:35 +0000, David Fletcher wrote:
> On Sun, 2020-12-13 at 09:58 +0000, Chris Green wrote:
>> I try as far as possible to keep my system 'standard' with as much as
>> possible of the custmisation being in /home where I use mercurial to
>> keep track of changes (and which is preserved when OS is upgraded).
>>
>> However there are inevitably a few global customisations in /etc and
>> I'd like to track them as well if possible. I can configure ways to
>> track them now but can anyone suggest a way to find all the changes I
>> have done over the years in /etc? I don't think there are all that
>> many of them but I know there are some and there are likely to be
>> some I can't remember how I did.
>
> I always comment my changes with reason, initials and date. Then a
> search for my initials turns them up.
I created a script to run once a day in cron to copy the
system config files (etc.) that I have modified to a special
directory in $HOME -- in 'rotate' fashion. From /etc/ e.g.:
hosts
hosts.1
hosts.2
hosts.3
......... etc., usw.
Of course there's the chance that I'll modify a new system file
and forget to add it to the script. Being mostly human......
HTH
Jonesy
--
Marvin L Jones | Marvin | W3DHJ.net | linux
38.238N 104.547W | @ jonz.net | Jonesy | FreeBSD
* Killfiling google & XXXXbanter.com: jonz.net/ng.htm
More information about the ubuntu-users
mailing list