From 2e252863c8cd9dcb4a0dd25bea6e5b66458721a1 Mon Sep 17 00:00:00 2001 From: yoavrotems Date: Thu, 17 Oct 2019 00:39:35 +0300 Subject: [PATCH] Update definitions.yaml --- cfg/2.0.0/definitions.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cfg/2.0.0/definitions.yaml b/cfg/2.0.0/definitions.yaml index b2016cb..22af783 100644 --- a/cfg/2.0.0/definitions.yaml +++ b/cfg/2.0.0/definitions.yaml @@ -7338,8 +7338,8 @@ groups: audit: "stat /etc/cron.deny" tests: test_items: - - flag: "File: /etc/cron.deny" - set: false + - flag: "stat: cannot stat '/etc/cron.deny': No such file or directory" + set: true remediation: | Run the following commands to remove `/etc/cron.deny` and `/etc/at.deny` and create and set permissions and ownership for `/etc/cron.allow` and `/etc/at.allow` : @@ -7359,8 +7359,8 @@ groups: audit: "stat /etc/at.deny" tests: test_items: - - flag: "File: /etc/at.deny" - set: false + - flag: "stat: cannot stat '/etc/at.deny': No such file or directory" + set: true remediation: | Run the following commands to remove `/etc/cron.deny` and `/etc/at.deny` and create and set permissions and ownership for `/etc/cron.allow` and `/etc/at.allow` :