2.2.7 Ensure NFS and RPC are not enabled - 'nfs-kernel-server'

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. 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 and rpcbind: # systemctl disable nfs-kernel-server# systemctl disable rpcbind

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b., CSCv6|9.1

Plugin: Unix

Control ID: 9e57eab898b0a246fa8c9066ed4dc77e86dcc3ae8d05d828d90a0071fa850c61