File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
linux_os/guide/auditing/auditd_configure_rules/file_permissions_var_log_audit Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 2828 log_file : " {{ log_file_line.stdout | trim }}"
2929 when : (log_file_exists is not skipped) and (log_file_line.stdout is defined) and (log_file_line.stdout | length > 0)
3030
31- {{% if 'ol' not in product and "rhel" not in product and 'almalinux' not in product %}}
31+ {{% if 'ol' not in families and "rhel" not in product and 'almalinux' not in product %}}
3232- name : Get log files group
3333 ansible.builtin.command : grep -m 1 ^log_group /etc/audit/auditd.conf
3434 failed_when : false
Original file line number Diff line number Diff line change 66 FILE=" /var/log/audit/audit.log"
77fi
88
9- {{% if ' ol' not in product and " rhel" not in product %}}
9+ {{% if ' ol' not in families and " rhel" not in product %}}
1010if LC_ALL=C grep -m 1 -q ^log_group /etc/audit/auditd.conf; then
1111 GROUP=$( awk -F " =" ' /log_group/ {print $2}' /etc/audit/auditd.conf | tr -d ' ' )
1212 if ! [ " ${GROUP} " == ' root' ] ; then
You can’t perform that action at this time.
0 commit comments