UCF STIG Viewer Logo

The NFS daemon must be disabled.


Overview

Finding ID Version Rule ID IA Controls Severity
V-58299 AOSX-09-000141 SV-72729r1_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.9 (Mavericks) Workstation Security Technical Implementation Guide 2017-01-05

Details

Check Text ( C-59125r1_chk )
The NFS daemon must be disabled. To check if NFS is disabled, run the following command:

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

If the returned value isn't 'true', this is a finding.
Fix Text (F-63615r1_fix)
To disable NFS, run the following command:

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