1. Home
  2. Security Hardening
  3. NIST MacOS Big Sur V1.4.0 800 171
  4. Big Sur – Configure Audit Log Files to Mode 440 or Less Permissive

Big Sur – Configure Audit Log Files to Mode 440 or Less Permissive

Details

The audit service _MUST_ be configured to create log files that are readable only by the root user and group wheel. To achieve this, audit log files _MUST_ be configured to mode 440 or less permissive; thereby preventing normal users from reading, modifying or deleting audit logs.

Solution

Run the following bash code

/bin/chmod 440 $(/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

Updated on July 16, 2022
Was this article helpful?

Related Articles