LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 10-22-2006, 05:26 AM   #1
hank43
Member
 
Registered: Nov 2003
Distribution: centos 4.4
Posts: 94

Rep: Reputation: 15
tripwire: list each file or give directory?


with tripwire, you can list each file
/sbin/ifconfig -> $(SEC_CRIT) ;
/sbin/ifdown -> $(SEC_CRIT) ;
/sbin/ifenslave -> $(SEC_CRIT) ;
/sbin/ifport -> $(SEC_CRIT) ;

or list a directory
/sbin -> $(SEC_CRIT) ;

what is the best practice? I have plenty of missing files from the default tripwire rpm install and it is a hassle deleting each entry. For files in /sbin, i don't see the sense of listing each one individually.
 
Old 10-23-2006, 07:37 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
what is the best practice?
Depends on what you want to check. On a stable server I choose for checking stuff that's critical to operation like kernel, modules and maps, systems and local binary dirs, main library dirs, /etc auth db's. I don't run tripwire but Aide, but the principle is the same. Make a rule that scans recursively, then supply that as arg for the dir. Then you don't have to list individual binaries.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
list directory only show newest file amarok* carl0ski Linux - General 1 01-29-2006 09:31 AM
how to give 'guest' rwx permission on a file/directory RH9Linux Linux - Software 3 06-27-2005 08:59 PM
Could someone with APT give me a package list? onu Fedora 3 01-12-2004 11:42 PM
How to list total file size of a directory phil1076 Linux - General 3 12-18-2003 03:47 PM
List the contents of a directory to a file MasterC Linux - General 19 11-26-2002 10:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration