2.2.6 Ensure NFS is not installed

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, it is recommended that the nfs-kernel-server package be removed to reduce the remote attack surface.

Solution

Run the following command to remove nfs :

# apt purge nfs-kernel-server

See Also

https://workbench.cisecurity.org/benchmarks/13007

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, 800-53|CM-7, CSCv7|9.2

Plugin: Unix

Control ID: 74e1392fba7ff1f678864d66e7c7332fab2780654a01cb5e3085905d760978ec