-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 14 Jan 2003 16:10:33 -0600, Mike Vanecek wrote: > After doing putting in emailto = root in a dozen places in twpol.txt, > running the twinstall.sh script, and doing a tripwire -m c, not > surprisingly I get a report of about 150 file exceptions. I just hate > the thought of going through and manually editing (commenting out) > those exceptions in the twpol.txt file and updating. I have tried the > -I option, read the doco 4 times, and searched google and tripwire.org > for information. > > Does a simpler method of correcting the twpol.txt file exist than just > sitting down with the exception report and manually editing. What a > pain! For tasks like that which can be automated I use small Perl helper scripts. Find attached a script I've written long ago and released before (don't know where). It may not be user-friendly, it may or may not work for you. And remember, there may be many other ways to do it. Give it a Tripwire report file as command-line argument, and it'll uncomment all missing files in Tripwire's policy file. - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+Jojo0iMVcrivHFQRApPkAJ99EaAscaiARQYLY4SRyCiuEvHa2ACfSc8I Yu/57iebQrL2OQh2yZlbaBY= =jDMx -----END PGP SIGNATURE-----
Attachment:
tw_genpol.pl
Description: Binary data