BaselineWatch
Desk

system_settings_remote_management_disable Disable Remote Management

NIST macOS Security Compliance Project Sequoia Guidance, Revision 4.0 (be5491f)
All changes in this version
first version loaded System Settings

Title

Disable Remote Management

Control

/usr/libexec/mdmclient QuerySecurityInfo 2>/dev/null | /usr/bin/grep -c "RemoteDesktopEnabled = 0"

Discussion

Remote Management _MUST_ be disabled.

Related controls

cm-7, cm-7.1

Fix

[source,bash]
----
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -deactivate -stop
----