Securing-Optimizing-RH-Linux-1_2_194
Comments and suggestions concerning this book should be mailed to gmourani@videotron.ca
© Copyright 1999-2000 Gerhard Mourani and Open Network Architecture ®
194
[root@deep tmp]# tar xzpf Tripwire_version_for_Linux_x86_tar.gz
NOTE: After the decompression of Tripwire you will see the following files in your /var/tmp
directory related to Tripwire software: License.txt, README, Release_Notes, install.cfg, install.sh,
the pkg directory and the Tripwire tar.gz file Tripwire_version_for_Linux_x86_tar.gz.
Configuration of the /var/tmp/install.cfg file
Recall that Tripwire version 2.2.1 is not open source, so you cannot compile and install it like
other archives source files, instead you must modify the install.cfg file of tripwire (that will install
automatically Tripwire software for you) to specify installation paths for your system. We must
modify this file to be compliant with Red Hat file system structure and install Tripwire binaries
under our PATH ENVIRONMENT VARIABLE.
Step 1
Edit the install.cfg file (vi /var/tmp/install.cfg) and change this file to look like:
#
# install.cfg
#
# default install.cfg for:
# Tripwire(R) 2.2.1 for Unix
#
# NOTE: This is a Bourne shell script that stores installation
# parameters for your installation. The installer will
# execute this file to generate your config file and also to
# locate any special configuration needs for your install.
# Protect this file, because it is possible for
# malicious code to be inserted here
#
# To set your Root directory for install, set TWROOT= to something
# other than /usr/TSS as necessary.
#
#=======================================================
# If CLOBBER is true, then existing files are overwritten.
# If CLOBBER is false, existing files are not overwritten.
CLOBBER=false
# The root of the TSS directory tree.
TWROOT="/usr"
# Tripwire binaries are stored in TWBIN.
TWBIN="${TWROOT}/bin"
# Tripwire policy files are stored in TWPOLICY.
TWPOLICY="${TWROOT}/TSS/policy"
# Tripwire manual pages are stored in TWMAN.
TWMAN="${TWROOT}/man"
# Tripwire database files are stored in TWDB.
TWDB="${TWROOT}/TSS/db"
# The Tripwire site key files are stored in TWSITEKEYDIR.
TWSITEKEYDIR="${TWROOT}/TSS/key"
# The Tripwire local key files are stored in TWLOCALKEYDIR.
TWLOCALKEYDIR="${TWROOT}/TSS/key"