UCF STIG Viewer Logo

The operating system must enforce requirements for remote connections to the information system.


Overview

Finding ID Version Rule ID IA Controls Severity
V-51403 OSX8-00-01170 SV-65613r1_rule Medium
Description
Screen Sharing must be disabled.
STIG Date
Apple OS X 10.8 (Mountain Lion) Workstation STIG 2015-02-10

Details

Check Text ( C-53739r1_chk )
To check if screen sharing is disabled, run the following command:

sudo /usr/libexec/PlistBuddy -c "print com.apple.screensharing:Disabled" /var/db/launchd.db/com.apple.launchd/overrides.plist

If the returned value isn't "true" or doesn't exist, this is a finding.
Fix Text (F-56201r1_fix)
To disable screen sharing, run the following command:

sudo defaults write /private/var/db/launchd.db/com.apple.launchd/overrides.plist "com.apple.screensharing" -dict Disabled -bool true