MD5 checksum

Reuben D. Budiardja techlist at voyager.phys.utk.edu
Thu Jun 10 04:10:07 UTC 2004


On Wednesday 09 June 2004 11:41 pm, Roger wrote:
> Hi. There
>
> I plan to use md5sum to get the digest of each file in some folders, like
> /etc /sbin .. and keep this as cron job, so that I can check the integrity
> of system.
> But it seems that md5sum can't calculate a sub folder, and always inform
> that something is a folder bla bla..
> So, what should I do? Thanks!

You can also use RPM to check the integrity of your file, especially the 
critical binary ones (ie. ls, ps, top, cd, etc.). Look at "man rpm", look at 
the option verivy (-V) and Verify all (-Va). It's also explained in RH manual 
/ Security guide at www.redhat.com. I think it's under the chapter "RPM as 
intrusion detection", or something like that.

RDB

-- 
Reuben D. Budiardja
Department of Physics and Astronomy
The University of Tennessee, Knoxville, TN
---------------------------------------------------------
"To be a nemesis, you have to actively try to destroy 
something, don't you? Really, I'm not out to destroy 
Microsoft. That will just be a completely unintentional 
side effect."
                 - Linus Torvalds -





More information about the redhat-list mailing list