시원한 아이스아메리카노 처럼

728x90
반응형

http://sourceforge.net/projects/tripwire/files/latest/download

[root@dgweb tripwire-2.4.2.2-src]# ./configure --prefix=/usr/local/tripwire sysconfdir=/etc/tripwire

[root@dgweb tripwire-2.4.2.2-src]# make

[root@dgweb tripwire-2.4.2.2-src]# make install


Installer program for:
Tripwire(R) 2.4 Open Source

Copyright (C) 1998-2000 Tripwire (R) Security Systems, Inc.  Tripwire (R)
is a registered trademark of the Purdue Research Foundation and is
licensed exclusively to Tripwire (R) Security Systems, Inc.


LICENSE AGREEMENT for Tripwire(R) 2.4 Open Source

Please read the following license agreement.  You must accept the
agreement to continue installing Tripwire.

Press ENTER to view the License Agreement.

-내용중략


This General Public License does not permit incorporating your program into
proprietary programs.  If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library.  If this is what you want to do, use the GNU Library General
Public License instead of this License.


Please type "accept" to indicate your acceptance of this
license agreement. [do not accept] accept

 

 

Continue with installation? [y/n]

 

(When selecting a passphrase, keep in mind that good passphrases typically
have upper and lower case letters, digits and punctuation marks, and are
at least 8 characters in length.)

Enter the site keyfile passphrase:
Verify the site keyfile passphrase:
Generating key (this may take several minutes)...Key generation complete.

(When selecting a passphrase, keep in mind that good passphrases typically
have upper and lower case letters, digits and punctuation marks, and are
at least 8 characters in length.)

Enter the local keyfile passphrase:

Verify the local keyfile passphrase:

 


----------------------------------------------
Customizing default policy file...

----------------------------------------------
Creating signed policy file...
Please enter your site passphrase:
Wrote policy file: /etc/tripwire/tw.pol

A clear-text version of the Tripwire policy file
/etc/tripwire/twpol.txt
has been preserved for your inspection.  This implements
a minimal policy, intended only to test essential
Tripwire functionality.  You should edit the policy file
to describe your system, and then use twadmin to generate
a new signed copy of the Tripwire policy.


----------------------------------------------
The installation succeeded.

Please refer to
for release information and to the printed user documentation
for further instructions on using Tripwire 2.4 Open Source.

make[3]: Leaving directory `/usr/local/tripwire-2.4.2.2-src'
make[2]: Leaving directory `/usr/local/tripwire-2.4.2.2-src'
make[1]: Leaving directory `/usr/local/tripwire-2.4.2.2-src'

 

# echo PATH=$PATH:/usr/local/tripwire/sbin >> ~/.bashrc

# source ~/.bashrc

3. man 화일 인스톨

 

# mkdir /usr/local/man

# cp -p /opt/tripwire-2.4.2-src/man/* /usr/local/man

 

4. 설정

 

1) 텍스트 화일 변경

 

#  vi /etc/tripwire/twcfg.txt

LOOSEDIRECTORYCHECKING =true    <-- 화일변경시 소속디렉토리변경은 통지 않함

REPORTLEVEL   =4    <----------------- 레포트레벨 변경

 

2) 위에서 변경한 텍스트 화일로 Tripwire설정화일을 작성

 

# twadmin -m F -c /etc/tripwire/tw.cfg -S /etc/tripwire/site.key /etc/tripwire/twcfg.txt

3) 설정화일을 텍스트 화일로  변경하는 방법

 

# twadmin -m f -c /etc/tripwire/tw.cfg > /etc/tripwire/twcfg.txt