2.1.7 Ensure NFS is not installed

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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 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/files/3208