From 45435dd2baaa69bd0d4c50df2653f1a59784b0ad Mon Sep 17 00:00:00 2001 From: Mark Bolwell Date: Thu, 19 Jan 2023 16:55:12 +0000 Subject: [PATCH] updated 6.2.16 Signed-off-by: Mark Bolwell --- tasks/section_6/cis_6.2.x.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tasks/section_6/cis_6.2.x.yml b/tasks/section_6/cis_6.2.x.yml index 257c6a6..647a150 100644 --- a/tasks/section_6/cis_6.2.x.yml +++ b/tasks/section_6/cis_6.2.x.yml @@ -460,14 +460,13 @@ - name: "6.2.16 | AUDIT | Ensure local interactive user dot files are not group or world writable | Check for files" ansible.builtin.find: - path: "{{ item }}" + path: /home depth: 3 patterns: ".*" hidden: true recurse: true file_type: file register: user_dot_files - loop: "{{ interactive_users_home.stdout_lines }}" - name: "6.2.16 | AUDIT | Ensure local interactive user dot files are not group or world writable | update permissions" ansible.builtin.file: