SV-209567r610285_rule
V-209567
SRG-OS-000095-GPOS-00049
AOSX-14-002002
CAT II
10
To disable the Apple File (AFP) Sharing service, run the following command:
/usr/bin/sudo /bin/launchctl disable system/com.apple.AppleFileServer
The system may need to be restarted for the update to take effect.
To check if the Apple File (AFP) Sharing service is disabled, use the following command:
/usr/bin/sudo /bin/launchctl print-disabled system | /usr/bin/grep com.apple.AppleFileServer
If the results do not show the following, this is a finding:
"com.apple.AppleFileServer" => true
V-209567
False
AOSX-14-002002
To check if the Apple File (AFP) Sharing service is disabled, use the following command:
/usr/bin/sudo /bin/launchctl print-disabled system | /usr/bin/grep com.apple.AppleFileServer
If the results do not show the following, this is a finding:
"com.apple.AppleFileServer" => true
M
2930