Linux Tripwire ASR 1.3.1 | All about OS

Linux Tripwire ASR 1.3.1

Категория: Securing and Optimizing

#ifdefTW LINUX UNDEF
Edit the Makefile file (vi +13 Makefile) and change the line:
DESTDIR = /usr/local/bin/tw
To read:
DESTDIR = /usr/sbin
DATADIR = /var/tripwire
To read:
DATADIR = /var/spool/tripwire
LEX     = lex To read: LEX     = flex
CC=gcc To read: CC=egcs
CFLAGS = -O To read:
CFLAGS = -09 -funroll-loops -ffast-math -malign-double -mcpu=pentiumpro -march=pentiumpro -fomit-frame-pointer-fno-exceptions
[root@deep tw_ASR_1.3.1_src]# make [root@deep tw_ASR_1.3.1_src]# make install
[root@deep tw_ASR_1.3.1_src]# chmod 700 /var/spool/tripwire/ [root@deep tw_ASR_1.3.1_src]# chmod 500 /usr/sbin/tripwire [root@deep tw_ASR_1.3.1_src]# chmod 500 /usr/sbin/siggen [root@deep tw_ASR_1.3.1_src]# rm -f /usr/sbin/tw.config
The above commands “make” and “make install” will configure the software to ensure your system has the necessary functionality and libraries to successfully compile the package, compile all source files into executable binaries, and then install the binaries and any supporting files into the appropriate locations.
The “chmod” command will change the default mode of “tripwire” directory to be 700 (drwx    )
only readable, writable, and executable by the super-user “root”. It will make the binary
7usr/sbin/tripwire” only readable, and executable by the super-user “root” (-r-x    ) and finally
make the “siggen” program under 7usr/sbin” directory only executable and readable by “root”.
The “rm” command as used above will remove the file “tw.config” under 7usr/sbin”. We don’t need this file since we will create a new one under “/etc” directory later.
Cleanup after work
[root@deep /]# cd /var/tmp
[root@deep tmp]# rm -rf tw_ASR_version/Tripwire-version.tar.gz
The “rm” command as used above will remove all the source files we have used to compile and install Tripwire. It will also remove the Tripwire compressed archive from the 7var/tmp” directory.

Страниц: 1 2

« Securing Tripwire for Linux
Configurations »