SV-225160r610901_rule
V-225160
SRG-OS-000095-GPOS-00049
AOSX-15-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-225160
False
AOSX-15-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
4212