2.1.7 Ensure NFS and RPC are not enabled - rpcbind status

Information

The Network File System (NFS) is one of the first and most widely distributed file systems in the UNIX environment. It provides the ability for systems to mount file systems of other servers through the network.

Rationale:

If the system does not export NFS shares or act as an NFS client, it is recommended that these services be disabled to reduce remote attack surface.

Solution

Run the following commands to disable nfs, nfs-server and rpcbind:

# systemctl disable nfs
# systemctl disable nfs-server
# systemctl disable rpcbind

# systemctl stop nfs
# systemctl stop nfs-server
# systemctl stop rpcbind

See Also

https://workbench.cisecurity.org/files/2449

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-4, CSCv7|9.2

Plugin: Unix

Control ID: 41e2bdcdae5575d05874a242c359d0b3c68fb90b1b5b27eee4f897d71f0bc123