SuSE Linux File Checksums
In this checksums_suse_linux_objects.cfg example, we specify MD5 checksums and file sizes for important SuSE 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_suse_linux_objects.cfg file
/////////////////////////////////////////////////////////////////////////////// // // checksums_suse_linux_objects.cfg // /////////////////////////////////////////////////////////////////////////////// #if suse #indent #include <objects/adm/checksums_bin_suse_linux_objects.cfg> #include <objects/adm/checksums_lib_suse_linux_objects.cfg> // #include other checksum files here as needed #unindent #endif ///////////////////////////////////////////////////////////////////////////////
we #include the checksums_bin_suse_linux_objects.cfg file (much has been omitted for brevity's sake)
f2295f0a21747668644c32cf742937fa 41064 /bin/dd 805d8a050b9af581790fed94ef75a595 58648 /bin/cp 9c6dc2bd776faf666f21488f465f9b4e 36276 /bin/df 80923a026f1777b9c673a0889f794a65 43780 /bin/ed 116be15dbb62daa036766949b2773828 25152 /bin/ln [...] fae87ce72afd8e8e7689ad9e02ef25d4 18848 /usr/sbin/squidclient 6b0f9cc610a6bb10095d8b644047540e 8664 /usr/sbin/atlantic 0174a67c07df19df17dbe2cfbbbc0cc8 676200 /usr/sbin/wwwoffled 23dd0c05b915ab3c985ff15059f8e0ef 14488 /usr/sbin/squid_ldap_group af6cc7a49a1da64dd3d2572c7e8f5b6f 16084 /usr/sbin/squid_ldap_auth
and also the checksums_lib_suse_linux_objects.cfg file
b80ea25fc11a89e1bbd773be1af07665 81 /lib/cpp 87d3a02eae59ebdd2bd1469767f0da6a 697 /lib/lsb/init-functions 5f8f62a8d3f82cac8f7e14c9c9b21032 178573 /lib/tls/libm.so.6 511a2a6113be1ed1a190d51489bbc543 28197 /lib/tls/libthread_db.so.1 72c4098812d19425c0b4a449174eb5a5 93182 /lib/tls/libpthread.so.0 [...] dead1978c50e8c0b21546899f5fed0e4 39210 /usr/local/lib/libGeoIPUpdate.a cdd37b844b92101dbaa54ba09781736e 845 /usr/local/lib/libGeoIPUpdate.la b5aab22172947a9d08d5d29cc4c90d4f 52468 /usr/local/lib/libGeoIP.a 2b1f66ef650a3e722283dad9b231ba5a 801 /usr/local/lib/libGeoIP.la d9044ec58fbd5252bcc90698857dfecc 49471 /usr/local/lib/libGeoIP.so.1.3.17
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.