Red Hat Linux File Checksums
In this checksums_redhat_linux_objects.cfg example, we specify MD5 checksums and file sizes for important Redhat Linux binary and library files. You would have similar files for other operating systems. This file is #include'd by the parent security_objects.cfg file.
In the checksums_redhat_linux_objects.cfg file
/////////////////////////////////////////////////////////////////////////////// // // checksums_redhat_linux_objects.cfg // /////////////////////////////////////////////////////////////////////////////// #if redhat #indent #include <objects/adm/checksums_bin_redhat_linux_objects.cfg> #include <objects/adm/checksums_lib_redhat_linux_objects.cfg> // #include other checksum files here as needed #unindent #endif ///////////////////////////////////////////////////////////////////////////////
we #include the checksums_bin_redhat_linux_objects.cfg file (much has been omitted to keep this short)
cc96fd833378b510ea90b6773fcfeed3 18576 /bin/alsaunmute fdba45506c278437aeefc517b3a49faa 18088 /bin/unlink 4408e9d19ca2596e7bdf43f62dad57b6 693012 /bin/dbus-daemon d991b4faa156103f28b5735a8e637a2d 4992 /bin/arch d578b2db849628393d2ba80f8d2cea54 62192 /bin/gunzip [...] b44242c0795f1cff1027ee87654391b1 7936 /usr/sbin/semanage 33954f6909d5d833ed21886af59bf2cf 897 /usr/sbin/beagle-build-index 32c084e78dfb39cf86d76ec0f99aa353 13768 /usr/sbin/irqbalance d404f272872077050e79ce9740b36bca 2360 /usr/sbin/redhat_lsb_trigger.i386 766f4edb4b6e6f93e34a0ffb872360a1 19976 /usr/sbin/iconvconfig
and also the checksums_lib_redhat_linux_objects.cfg file
5948526b4a0424540d291564625c3e8f 34840 /lib/libblkid.so.1.0 44ab1dbce551936dbfeab0896d7b7fb8 152864 /lib/libsemanage.so.1 c4d821abe2fc012e038b0034b9772ad1 21924 /lib/libdevmapper-event.so.1.02 7f7179eb4dad45d047a95c43b9210126 76320 /lib/libresolv-2.4.so 92334ecd54bd86f6ea91f220a7ecd389 21724 /lib/libnss_dns-2.4.so [...] 6e858759cbb0a17af790659748cb6333 684320 /usr/lib/libnoatun.so.1.2.0 30958f34bb109f687ab2789c1dd3ba8c 263140 /usr/lib/libkdeinit_krec.so 2fb29b615e3b8a3f1e7721ede1133f8c 51608 /usr/lib/libksieve.so.0.0.0 a53fe20f431ea01a5251e794b8c9bcd9 168768 /usr/lib/libkabc_ldapkio.so.1.0.0 eaed98d210b6077eab8d36d713c72e00 1209 /usr/lib/libkhtml.la
You might also #include other checksum files as needed.
We recommend that you use the sample mkchecksums.pkt Pikt script to generate the bin, lib & other checksum #include files.
For more examples, see Samples.