Big Sur - Configure Audit Log Files Group to Wheel

Details

Audit log files _MUST_ have the group set to wheel.



The audit service _MUST_ be configured to create log files with the correct group ownership to prevent normal users from reading audit logs.



Audit logs contain sensitive data about the system and users. If log files are set to be readable and writable only by system administrators, the risk is mitigated.


Solution

Run the following bash code

/usr/bin/chgrp -R wheel $(/usr/bin/grep '^dir' /etc/security/audit_control | /usr/bin/awk -F: '{print $2}')/*
----


Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Audit and Accountability.This control applies to the following type of system Unix.


References


Source