diff options
-rw-r--r-- | cfengine/cf.services.harden | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cfengine/cf.services.harden b/cfengine/cf.services.harden index 1953c88..d1f3944 100644 --- a/cfengine/cf.services.harden +++ b/cfengine/cf.services.harden @@ -47,6 +47,7 @@ editfiles: # !/dev/log # !/dev/xconsole # !/dev/core + # !/dev/ttyS* # LocateLineMatching "^[[:blank:]]*\!/dev/.*" CatchAbort @@ -63,4 +64,7 @@ editfiles: BeginGroupIfNoLineMatching "^[[:blank:]]*\!/dev/core([[:blank:]]+(#.*)?)?" InsertLine "!/dev/core # Added by cfengine" EndGroup + BeginGroupIfNoLineMatching "^[[:blank:]]*\!/dev/ttyS\*([[:blank:]]+(#.*)?)?" + InsertLine "!/dev/ttyS* # Added by cfengine" + EndGroup } |