On Wed, 2003-10-01 at 09:34, Leonard Miller wrote: > I'm one step ahead of you Bret. >
Not anymore! see the new version at http://www.elevating.com/bret/twpolclean.pl and one you can actually read online at http://www.elevating.com/bret/twpolclean.pl.txt # # changelog # # 2003-10-1 [EMAIL PROTECTED] # added the VERBOSE variable to control output # added logic to reprocess commented out lines to enable this # script to be run against apreviously processed twpol.txt file # added a check for root euid and warning if not # added tag at end indicating the output file was processed use it and drink a cuppa with the time you save. I noticed that there were a couple of files on my test box, mainly in roots home that are now there that were not on the first pass so I am going to go back and rerun it on all my internet connected computers If any one has any problems let me know. also another fairly cool script out there is fcf.pl (find config files) that will scan a directory and generate a list of files that fail a verify and the packages they belong to. great for a quicky "i am about to do something risky and I don't want to loose all my config files. clean up the output and cat it into tar as a file list and you have an archive of all your config files including files under the directory that do not belong to any package. It is not the most efficient thing in the world sine I actually call rpm rather that use the perl libs but I was so &[EMAIL PROTECTED] tickled to get it working I did not have the energy to go back in and dink with it. It rally needs some stuff added to the exclude feature like all the gconf crap in /etc/ that does not belong to any package but without researching it I have not made the change. pretty easy to delete lines in vim anyway :) Bret -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list