ERROR: Slooooow dooooown... this page load was delayed.


tripwire - Security and data-integrity tool ChangeLog

HOWTO


# Open Source Tripwire 2.4.0.1
# ============================
# Prerequisites:
# gawk
# bison
# vi
# sendmail
# grep
# OpenSSL

cd
test -f installed/tripwire-2.4.0.1-src.tar.bz2 &&
mv installed/tripwire-2.4.0.1-src.tar.bz2 .
test ! -f tripwire-2.4.0.1-src.tar.bz2 &&
wget http://download.sf.net/tripwire/tripwire-2.4.0.1-src.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "tripwire-*" -exec rm -r {} \;
tar xjvf ~/tripwire-2.4.0.1-src.tar.bz2
cd tripwire-2.4.0.1
test $UID = 0 && chown -R root:root .
chmod -R u+w .

# Apply this patch to allow it to build with gcc 4.x:
wget -nc http://englanders.cc/pub/linux/patches/tripwire-2.4.0.1.patch &&
patch -p1 < tripwire-2.4.0.1.patch

# This will tell configure where to find your sendmail binary
path_to_sendmail=/usr/sbin \

./configure
make

# Become root to install it
su

# The install.sh script expects there to be a README and a Release_Notes,
# but they're missing.  Create blank ones.
touch ./README ./Release_Notes

# The Makefile will look for ./install/install.sh and install.cfg, but
# they're in ./contrib/
test ! -d install && mkdir -p install
( cd install
  ln -sf ../contrib/install.sh
  ln -sf ../contrib/install.cfg )

# Install it
make install
chown -R $USER .

# Read this for more info about tripwire:
# man twintro
# man tripwire
# man twconfig
# man twpolicy
# man twfiles
# man siggen
# man twadmin
# man twprint
# /usr/local/doc/tripwire/*
# /usr/local/etc/twcfg.txt
# /usr/local/etc/twpol.txt
# Forums, Mailing Lists, Docs at the SF project page

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/tripwire-*-src.tar.*
mv tripwire-2.4.0.1-src.tar.bz2 installed/


# If you ever want to uninstall tripwire, this should do it:
cd
su
test -d src/tripwire-* && ( cd src/tripwire-* ; make uninstall )
test -d /usr/local/doc/tripwire && rm -r /usr/local/doc/tripwire
( cd /usr/local/etc ; rm -f tw.cfg tw.pol twcfg.txt twpol.txt )
test -d /usr/local/lib/tripwire && rm -r /usr/local/lib/tripwire
( cd /usr/local/man/man4 ; rm -f twconfig.4 twpolicy.4 )
( cd /usr/local/man/man8
  rm -f siggen.8 tripwire.8 twadmin.8 twintro.8 twprint.8 )
( cd /usr/local/sbin ; rm -f siggen tripwire twadmin twprint )
rm -f /usr/local/man/man5/twfiles.5
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "tripwire-*" -exec rm -r {} \;
rm -f ~/installed/tripwire-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2006-10-16 2:24pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]