mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 05:53:24 +00:00
sysprefs_ad_tracking_disable check #326
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 @robertgendler on GitHub.
Summary
The check for sysprefs_ad_tracking_disable is incorrect.
Steps to reproduce
Apply the configuration profile for disabling ad tracking.
Run the check in the Terminal
sudo /usr/bin/profiles -P -o stdout | /usr/bin/grep -c '"forceLimitAdTracking" = 1'
What is the current bug behavior?
0 found due to the quotes
Possible fixes
/usr/bin/profiles -P -o stdout | /usr/bin/grep -c 'forceLimitAdTracking = 1;'
No quotes around forceLimitAdTracking
@robertgendler commented on GitHub:
Fixed within the Catalina branch.