File Checksums

This security_checksums_objects.cfg example specifies MD5 checksums and file sizes for use by the ChecksumDifferenceCritical script, which uses this information to report unexpected checksum and/or file size changes, perhaps indicative of hacker activity.  Note how the #include directives incorporate several different sets of checksums, for example checksums_piktbin_objects.cfg and checksums_redhat_linux_objects.cfg or checksums_suse_linux_objects.cfg.

///////////////////////////////////////////////////////////////////////////////
//
// security_objects.cfg
// 
///////////////////////////////////////////////////////////////////////////////

[... other objects omitted ...]

///////////////////////////////////////////////////////////////////////////////

Checksums

#verbatim <objects/adm/checksums_piktbin_objects.cfg>

#if redhat
#  include <objects/adm/checksums_redhat_linux_objects.cfg>
#endif

#if suse
#  include <objects/adm/checksums_suse_linux_objects.cfg>
#endif

///////////////////////////////////////////////////////////////////////////////

[... other objects omitted ...]

///////////////////////////////////////////////////////////////////////////////

On the piktmaster system, we would install the Checksums.obj file to each PIKT slave system with the command:

# piktc -iv +O Checksums +H all        [or: ... -H down]

For more examples, see Samples.

 
Home | FAQ | News | Intro | Samples | Tutorial | Reference | Software
Developer's Notes | Licensing | Authors | Pikt-Users | Pikt-Workers | Related Projects | Site Index | Privacy Policy | Contact Us
Page best viewed at 1024x768 or greater.   Page last updated 2019-01-12.   This site is PIKT® powered.
Copyright © 1998-2019 Robert Osterlund. All rights reserved.
Home FAQ News Intro Samples Tutorial Reference Software
PIKT Logo
PIKT Page Title
View sample
sulog scan
Pikt script