UCF STIG Viewer Logo

The NFS daemon must be disabled unless required.


Overview

Finding ID Version Rule ID IA Controls Severity
V-59571 AOSX-10-000141 SV-74001r2_rule Medium
Description
If the system does not require access to NFS (Network File System) file shares or is not acting as an NFS server, then support for NFS is non-essential and NFS services must be disabled. NFS is a network file system protocol supported by Unix-like operating systems. Enabling any service increases the attack surface for an intruder. By disabling unnecessary services, the attack surface is minimized.
STIG Date
Apple OS X 10.10 (Yosemite) Workstation Security Technical Implementation Guide 2017-04-06

Details

Check Text ( C-60341r3_chk )
If the NFS daemon is required, this is not applicable.

To check if the NFS daemon is disabled, use the following command:

sudo launchctl print-disabled system | grep com.apple.nfsd

If the results do not show the following:

"com.apple.nfsd" => true

this is a finding.
Fix Text (F-64981r1_fix)
To disable the 'NFS' daemon, run the following command:

sudo launchctl disable system/com.apple.nfsd

The system may need to be restarted for the update to take effect.