| 2062 번 글: tripwire 툴 에 대해서 |
| 글쓴이: 이현철
|
글쓴날: 2004년 05월 23일 18:20:35 일(저녁) |
조회: 899 |
-----------------------------------------
답변자가 기본적으로 참고할 내용입니다.
- 배포판(옵션) :
- 커널버전(옵션)
:
- 데몬버전(예:apache
1.3.27) :
- 데몬설치유형(RPM/컴파일/기타)
:
-----------------------------------------
언제나 이렇게 질문올려도 답변잘해주셔서
감사합니다..
오늘은 주말내내 했는데요..
tripwire 툴 같은경우에 솔라리스 같은경우에는 상용화로
바뀌었서
사용할수없던데요..
redhat 9.0 에서.
tripwire-2.3-47을 사용해서
rpm 설치하구 나서요
아래와 같이
[root@test root]# cd /etc/tripwire/
[root@test tripwire]# ls -al
合計 188
drwxr-xr-x 2 root root 1024 5月 18 12:35 .
drwxr-xr-x 65 root root 5120 5月 21 17:24 ..
-rw-r----- 1 root root 931 5月 18 11:55 site.key
-rw-r----- 1 root root 931 5月 18 11:55 test-local.key
-rw-r----- 1 root root 4586 5月 18 12:35 tw.cfg
-rw-r----- 1 root root 4586 5月 18 11:55 tw.cfg.20662.bak
-rw-r----- 1 root root 4586 5月 18 12:08 tw.cfg.20955.bak
-rw-r----- 1 root root 8287 5月 18 12:35 tw.pol
-rw-r----- 1 root root 8287 5月 18 12:35 tw.pol.bak
-rw-r--r-- 1 root root 477 5月 18 11:54 twcfg.txt
-rwxr-x--- 1 root root 10112 5月 18 11:54 twinstall.sh
-rwxr-xr-x 1 root root 10109 8月 16 2000 twinstall.sh.bak
-rw-r--r-- 1 root root 41225 5月 18 12:35 twpol.txt
-rw-r--r-- 1 root root 41137 5月 18 11:54 twpol.txt.bak
-rw-r--r-- 1 root root 41253 5月 18 11:58 twpol.txt1
[root@test tripwire]#
./twinstall.sh 까지 했는데요.
그리고 twpol.txt 파일안데 디렉토리경로를
확인수정했습니다.
아래와 같이 초기 DB생성하기를 하면 아래와 같이
[root@www sbin]# ./tripwire --init <- 여기 실행시..
Please enter your local passphrase:
Parsing policy file: /etc/tripwire/tw.pol
Generating the database...
*** Processing Unix File System ***
Software interrupt forced exit: Segmentation Fault
이렇게 에러 메시지가 나왔습니다...
왜 이러는지....모르겠습니다.
이곳저곳찾아보니
저와같이 에러 메시지로인해 질문이 많있던데
답변은 하나도 없더라고요..
아마도 제 생각인데.
twpol.txt 파일안데 필요치않는 경로등을 주석처리하는
부분에서 생긴문제같은데요..
에러가 발생한 구문을보고(디렉토리경로가존재하지않는부분을
전부주석처리했습니다)
그리고 나서 위와 같이
./tripwire --init 로 초기 db를 생성할려고 하니 ..안되네요..
|
이전글 : Re: 1번은 해결했습니다.. 2번만 답변좀..^^
다음글 : Re: tripwire 툴 에 대해서
|
from 210.238.198.62
JS(Redhands)Board 0.4 +@
|