Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ======2.2.7 Ensure NFS and RPC are not enabled (Scored)====== =====Profile Applicability===== <code> Level 1 - Server Level 1 - Workstation </code> =====Description===== 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. =====Audit===== Run the following commands to verify ''nfs'' is not enabled: <Code:bash> # systemctl is-enabled nfs-kernel-server disabled </Code> Verify result is not "enabled". \\ \\ Run the following commands to verify ''rpcbind'' is not enabled: <Code:bash> # systemctl is-enabled rpcbind disabled </Code> Verify result is not "enabled". =====Remediation===== Run the following command to disable ''nfs'' and ''rpcbind'': <Code:bash> # systemctl disable nfs-kernel-server # systemctl disable rpcbind </Code> ubuntu1604/2/2/7.txt Last modified: 2017/05/02 11:41by Piotr Kłoczewski