Configuring tripwire

The following notes were used to configure tripwire on SLES9.

I’ve also used this on FC4.

These are NOTES only, not a definitive procedure.

Populate /etc/tripwire/tw.cfg and twpol.cfg

cd /etc/tripwire
twadmin --generate-keys --site-keyfile ./site.key [hostname]
twadmin --generate-keys --local-keyfile ./${HOSTNAME}_local.key [hostname]
twadmin --create-cfgfile --cfgfile ./tw.cfg --site-keyfile ./site.key twcfg.txt [hostname]
twadmin --create-polfile --cfgfile ./tw.cfg --site-keyfile ./site.key twpol.txt [hostname]
tripwire --init --cfgfile ./tw.cfg --polfile ./tw.pol --site-key ./site.key --local-keyfile ./${HOSTNAME}_local.key [hostname]
tripwire --check
twprint -m r -r [twr file]

About

I'm a freelance UNIX engineer working in the UK. I'm married to Tina and between us we have six children. I'm a bit of an Apple fan boy, and all the Windows machines in the house are a thing of the past now.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: