Setting Install Security Responses and system files Software Update Settings

How can I enable “Install Security Responses and system files” in macOS terminal?

Enable System Files and Security Updates: To specifically enable the installation of system files and security updates, you need to use the following command

Check: command allows for the automatic installation of system files
sudo defaults read /Library/Preferences/com.apple.SoftwareUpdate ConfigDataInstall
Should Return 1 if enabled

Write: command allows for the automatic installation of system files
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate ConfigDataInstall -bool true

Check: command enables automatic installation of security updates
sudo defaults read /Library/Preferences/com.apple.SoftwareUpdate CriticalUpdateInstall

Write: command enables automatic installation of security updates
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CriticalUpdateInstall -bool true

Link:
https://eclecticlight.co/lockrattler-systhist/

See XProtect Version History
system_profiler SPInstallHistoryDataType | grep -A 5 "XProtectPlistConfigData"

Force an XProtect Update: Use the following command in Terminal
sudo softwareupdate --background-critical

softwareupdate --background --include-config

Link:
https://community.jamf.com/t5/jamf-pro/force-xprotect-to-update/m-p/225545#M213906

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *