mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 05:53:24 +00:00
Add command to remove uchg flag from /etc/security/audit_control
#189
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @brodjieski on GitHub.
Originally assigned to: @robertgendler on GitHub.
Discussed in https://github.com/usnistgov/macos_security/discussions/235
Originally posted by MatimusPrime March 8, 2023
I have been trying to work my way through these as a proof of concept but this one and a few after it that all ask to modify the
/etc/security/audit_control
all fail with Operation not permitted running as sudo
the file itself shows system as readonly and everyone as No Access.
Is this common or many due to another piece of security software we may have?
@jmahlman commented on GitHub:
As you already know..apps like compliance reporter (formerly cmdReporter) change the permissions in this folder. In my case, I added a custom rule to fix this and that's usually the best COA.
Maybe we should just run the command no matter what..
@robertgendler commented on GitHub:
Merged into os branches