LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-04-2008, 10:53 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
Question on the tripwire config file, twpol.txt


Question on the tripwire config file, twpol.txt: Can I use wild cards?

Ex.
!/home/*/mail
to get it not to check everything inside any users mail directory?

And does it process every thing from top down and remember what it is suppose to ignore?
Ex. If i have
!/home/user/mail
then further down I have
/home -> $(ReadOnly) ;
Will it know to skip /home/user/mail

TIA!
 
Old 05-05-2008, 08:25 PM   #2
eggixyz
Member
 
Registered: Apr 2008
Posts: 310

Rep: Reputation: 30
Hey There,

I'm not sure if the last version of tripwire I used was up to today's standards but it used to be able to ignore using * wildcards like

!/this/dir --- to totally ignore the dir

and

=/usr/mail --- to only check user mail and stop there (don't descend into users boxes)

But I'm pretty sure it's still true that the policy file reads left to right top to bottom, like before so it will execute the first command before it realizes you don't want it to look in that directory (that you have later in the file)

Hope that helps

, Mike
 
Old 05-05-2008, 08:28 PM   #3
eggixyz
Member
 
Registered: Apr 2008
Posts: 310

Rep: Reputation: 30
Actually, in re-reading your posts,

regarding the second /home/ entry should give you an error for a duplicate rule when you parse it with tripwire, since it would be the second rule on the same location, with conflicting directions.

Worst case, give it a shot I haven't used it since they started charging for it. I kept the old Solaris binaries and they still compile

, Mike
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Question about '.config' file for new kernel overlook1977 Slackware 9 05-01-2007 01:21 PM
How can read from file.txt C++ where can save this file(file.txt) to start reading sam_22 Programming 1 01-11-2007 06:11 PM
tripwire config AWyant Linux - Security 2 12-31-2003 02:13 PM
Kernel question - .config file dtheorem Linux - Software 2 10-14-2003 05:10 PM
How to convert a txt file to be a db file in Redhat linux 9? winnie Linux - Newbie 3 06-27-2003 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration