LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-08-2011, 05:46 PM   #1
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,971

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
rkhunter to check hashes of files in directory


Hi,

I wanted to write a script which would check the hash-sums of all files within a certain directory and compare them with previous hashes. I remembered that rkhunter does this by default for certain files. So my idea was to use rkhunter for this task. I copied the default configuration file and made some modifications to it. However, I just cannot get it to work. It always just computes the hashes for files in /bin /usr/bin etc. But I would like to also check the files, e.g. in /boot.

Is there any way to configure rkhunter to compute and store hashes for *normal* (i.e. non-executable) files?
 
Old 08-08-2011, 07:41 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
Maybe you could try aide .. it's designed for the job.
 
1 members found this post helpful.
Old 08-09-2011, 01:33 AM   #3
crts
Senior Member
 
Registered: Jan 2010
Posts: 1,971

Original Poster
Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
@kbp: Thanks for the hint. Looks like aide is a good alternative to what I am trying to do.
 
  


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
rkhunter, not updating hashes? abefroman Linux - Software 5 09-22-2009 10:35 AM
bash script to check how many files in directory guest Programming 8 02-01-2009 12:55 AM
rkhunter bad hashes Fcm Linux - Security 1 02-20-2007 05:33 AM
Possible compromise - rkhunter finds 2 (?) questionable hashes The MCP Linux - Security 3 04-02-2005 07:15 PM
rkhunter logfile check Dogit Linux - Security 10 02-25-2005 12:34 AM

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

All times are GMT -5. The time now is 11:38 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