diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-03-30 12:42:06 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-03-30 12:42:06 +0000 |
commit | 59a6f06f215568d1482a02eae5f0d94b8eccf215 (patch) | |
tree | e8a0fb499e36efae5fc8387c3d709125fdc43a65 /cfengine | |
parent | 05a79b209c57264516f30b1e04ee39eea458d1c3 (diff) |
cfengine: Ignore journal and local files in integrit.
Diffstat (limited to 'cfengine')
-rw-r--r-- | cfengine/cf.services.harden | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cfengine/cf.services.harden b/cfengine/cf.services.harden index 348041e..ae315b9 100644 --- a/cfengine/cf.services.harden +++ b/cfengine/cf.services.harden @@ -118,6 +118,22 @@ editfiles: ResetSearch "1" LocateLineMatching "^#[[:blank:]]*!/usr/src" ReplaceLineWith "!/usr/src" + ResetSearch "1" + BeginGroupIfNoLineMatching "^!/initrc" + Append "!/initrc" + EndGroup + ResetSearch "1" + BeginGroupIfNoLineMatching "^!/.journal" + Append "!/.journal" + EndGroup + ResetSearch "1" + BeginGroupIfNoLineMatching "^!/usr/local" + Append "!/usr/local" + EndGroup + ResetSearch "1" + BeginGroupIfNoLineMatching "^!/usr/src" + Append "!/usr/src" + EndGroup } # { /etc/cron.daily/integrit # # |