SV-230819r599842_rule
V-230819
SRG-OS-000480-GPOS-00227
APPL-11-002050
CAT II
10
To disable the Screen Sharing service, run the following command:
/usr/bin/sudo /bin/launchctl disable system/com.apple.screensharing
The system may need to be restarted for the update to take effect.
To check if the Screen Sharing service is disabled, use the following command:
/usr/bin/sudo /bin/launchctl print-disabled system | /usr/bin/grep com.apple.screensharing
If the results do not show the following, this is a finding:
"com.apple.screensharing" => true
V-230819
False
APPL-11-002050
To check if the Screen Sharing service is disabled, use the following command:
/usr/bin/sudo /bin/launchctl print-disabled system | /usr/bin/grep com.apple.screensharing
If the results do not show the following, this is a finding:
"com.apple.screensharing" => true
M
5246