system_settings_remote_management_disable Disable Remote Management
NIST macOS Security Compliance Project Sequoia Guidance, Revision 4.0 (be5491f)
All changes in this version
All changes in this version
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
----