Updating the Tripwire Configuration File


If you want to change Tripwire’s configuration file, first edit the sample configuration file, /etc/tripwire/twcfg.txt. If you deleted this file (as you should whenever you are finished configuring Tripwire), you can regenerate it by issuing the following command:

twadmin --print-cfgfile > /etc/tripwire/twcfg.txt

Tripwire will not recognize any configuration changes until the configuration text file is correctly signed and converted to /etc/tripwire/tw.pol with the twadmin command. Use the following command to regenerate a configuration file from the /etc/tripwire/twcfg.txt file:

/usr/sbin/twadmin --create-cfgfile -S site.key /etc/tripwire/twcfg.txt

Since the configuration file does not not alter any Tripwire policies or files tracked by the application, it is not necessary to regenerate the Tripwire database.




Official Red Hat Linux Administrator's Guide
Official Red Hat Linux Administrators Guide
ISBN: 0764516957
EAN: 2147483647
Year: 2002
Pages: 278
Authors: Red Hat Inc

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net