View Full Version : [ubuntu] How do I hash checksum /boot?
August 9th, 2011, 01:59 AM
Is it possible to get an md5sum of the contents of /boot? Then user can later take another hash and compare them to see if /boot has been tampered with? Like for sceanrios where everything is encrypted on the drive except for /boot?
August 9th, 2011, 02:03 AM
Is that what your looking for?
I'm sure it'd be trivial to do something like:
the find + md5 thing > bootsumlast.txt
check that against a new sum stored in bootsum.txt and if they're the same, overwrite bootsumlast.txt
if they're not mail yourself a warning message.
EDIT: and of course you'd automate this.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.