diff options
author | Klaus Agnoletti <klaus@xenux.dk> | 2001-12-20 11:30:55 +0000 |
---|---|---|
committer | Klaus Agnoletti <klaus@xenux.dk> | 2001-12-20 11:30:55 +0000 |
commit | 628962699f4068d5d16cb2a1294250174d5cb56f (patch) | |
tree | 37ed19849d358ee903d06ca391bee4e7ae986b48 /cfengine | |
parent | cf5821bc02dcf4dae050bd339bb7114016ac2e71 (diff) |
cfengine: Deleted from proftpd.conf DefaultRoot. users,!staff is deleted
so everybody get changerooted to their homedirectory. Privacy matters.
Diffstat (limited to 'cfengine')
-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:]]*.*$" } |