The /etc/tw.config file is the Tripwire configuration file where you decide and set which system files and directories that you want monitored. Note that extensive testing and experience
are necessary when editing this file before you get working file reports. The following is a working example from where you can start you own customization.
Create the tw.config file, touch/etc/tw.config and add in this file all files and directories that you want monitored. The format of the configuration
file is described in its header and in the man page tw.config(5):
# Gerhard Mourani: [email protected]
# last updated: 1999/11/12
# First, root's "home"
# OS itself
# critical boot resources
# Critical directories and files
# other popular filesystems
# truncate home
# var tree
# unusual directories
Now, for security reasons, change the mode of this file to be 0600 with the following command: