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, it is recommended that the NFS be disabled to reduce the remote attack surface.
Solution
Run the following commands to disable NFS:
# systemctl --now disable nfs
Notes:
Additional methods of disabling a service exist. Consult your distribution documentation for appropriate methods.