Is there a list, or a way to get a list, of Fedora's config files? Better yet, how about just those files I've tweaked??
On Sat, 16 Dec 2017 20:45:02 +0000 (UTC) Beartooth Beartooth@comcast.net wrote:
Is there a list, or a way to get a list, of Fedora's config files? Better yet, how about just those files I've tweaked??
Short answer - no easy way.
The config files mostly aren't Fedora config files, but are specific to the application they configure. So, everyone's config file list will be different, because they will have different things installed.
If you are diligent, you could install a version control system (git, hg, subversion, bazaar, etc.) and after every change make a new commit, documenting what you changed and why. Then you always have a list of changes just a stat call away. But it is a lot of work.
You could just keep a text file, and note changes as you make them also. Lighter weight.
Maybe someone has developed a super easy way I'm not aware of, and will chime in. That would be great.
On 17/12/17 07:45, Beartooth wrote:
Is there a list, or a way to get a list, of Fedora's config files? Better yet, how about just those files I've tweaked??
'man rpm' and read the 'VERIFY OPTIONS' part.
You can find an altered config files with: $ rpm --verify smartmontools.x86_64 S.5....T. c /etc/smartmontools/smartd.conf The above ' c ' means that this is a config file.
or to check everything: $ log="$HOME/verify.log" $ rpm -qa | sudo xargs rpm -q --verify >"$log" This can take a few (5-10) minutes to complete.
Now look for config file changes: $ grep ' c ' "$log"
You will see many other changes reported in the log file, and most you will be able to see as innocent. No need to panic...
cheers