samhain: disable SUID/SGID checks
authorAurelien Jarno <aurelien@aurel32.net>
Sun, 30 Jul 2017 12:08:50 +0000 (14:08 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 30 Jul 2017 12:13:57 +0000 (14:13 +0200)
commit778db76adfd93ae7070905b0f5aec4a047fffc74
tree43767abc0b84856e5c49f17700453bb4bac0f90c
parent343b1973e7e83d192f14a5cd0c9846fa212ea06e
samhain: disable SUID/SGID checks

The SUID/SGID checks have been enabled in our configuration file
since the beginning, but have been actually active only for stretch
hosts as the jessie version of samhain is built without SUID/SGID
check support.

These checks are not very flexible, as it's only possible to specify a
single excluded directory, while we want to avoid walking both /srv and
/home. However they are also not very useful in our use case, as files
which get a SUID/SGID bit flipped will appear as changed.

Therefore simply disable the SUID/SGID checks.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
modules/samhain/templates/samhainrc.erb