Web page hosting, cheap domain name & website promotion services
  

 Home

Red Hat Linux 7.2: The Official Red Hat Linux Reference Guide
PrevChapter 11. Installing and Configuring TripwireNext

Modifying the Policy File

You can specify how Tripwire checks your system by modifying the Tripwire policy file (twpol.txt). Modifying the policy file to your particular system configuration increases the usefulness of Tripwire reports by minimizing false alerts for files or programs you aren't using but Tripwire is still reporting as altered or missing.

Locate the default policy file at /etc/tripwire/twpol.txt. An example policy file (located at /usr/share/doc/tripwire-<version-number>/policyguide.txt) is included to help you learn the policy language. Read the example policy file for instructions on how to edit the default policy file.

If you modify the policy file immediately after installing the tripwire package, be sure to type /etc/tripwire/twinstall.sh to run the configuration script. This script signs the modified policy file and renames it to tw.pol. This is the active policy file used by the tripwire program when it executes.

If you modify the sample policy file after running the configuration script, see the section called Updating the Policy File for instructions on signing it to make the required tw.pol file.

NoteNote
 

If you modify the sample policy file, it will not be used by Tripwire until it is signed, encrypted and made into the new /etc/tripwire/tw.pol file (see the section called Updating the Policy File).


PrevHomeNext
Tripwire ComponentsUpSelecting Passphrases
 

 

 

 

Buy Cheap domains and domain register |  Cheap domain registration and transfer 

Disclaimer: For authoritative source or latest update to this documentation, please refer to http://www.redhat.com/docs/manuals/linux/

 

 
Quotes: A life without adventure is likely to be unsatisfying, but a life in which adventure is allowed to take whatever form it will is sure to be short.