mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 05:53:24 +00:00
system_settings_wake_network_access_disable resets on check #83
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 @exolab on GitHub.
I have generated a
cis_lvl1_compliance.shscript.When I run
./sudo cis_lvl1_compliance.sh --fix, the setting forsystem_settings_wake_network_access_disableis fixed, as shown by the subsequent check:If I then run a check, that check seems to manipulate the setting somehow:
I have waited for 20 minutes in between the two calls, verifying the value was still 0 right before running the check, in order to exclude the possibility of the setting being manipulated by some other process.
What am I missing?
@exolab commented on GitHub:
Sort of answering my own question, at least in part.
/usr/bin/mcxrefresh -u $CURR_USER_UIDis the culprit. Given the very short an informative man page of mcxrefresh, I will now try to find out what that means exactly.