diff options
-rw-r--r-- | cfengine/cf.services.ftp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cfengine/cf.services.ftp b/cfengine/cf.services.ftp index 894f566..f90f8a3 100644 --- a/cfengine/cf.services.ftp +++ b/cfengine/cf.services.ftp @@ -16,15 +16,15 @@ editfiles: ReplaceLineWith 'LsDefaultOptions "-la" # Edited by cfengine' EndGroup # - # DefaultRoot ~ users,!staff + # DefaultRoot ~ # WarnIfNoLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]].*$" BeginGroupIfNoLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]].*$" - Append 'DefaultRoot ~ users,!staff # Added by cfengine' + Append 'DefaultRoot ~ # Added by cfengine' EndGroup LocateLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]].*$" - BeginGroupIfNoLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]]+~[[:blank:]]+users,!staff([[:blank:]]+(#.*)?)?$" - ReplaceLineWith 'DefaultRoot ~ users,!staff # Edited by cfengine' + BeginGroupIfNoLineMatching "^[[:blank:]]*DefaultRoot[[:blank:]]+~[[:blank:]].*$" + ReplaceLineWith 'DefaultRoot ~ # Edited by cfengine' EndGroup UnsetAbort "^[[:blank:]]*VirtualHost[[:blank:]]*.*$" } |