Rule ID
SV-215352r1268290_rule
Version
V3R4
CCIs
The rcnfs entry starts the NFS daemons during system boot. NFS is a service with numerous historical vulnerabilities and should not be enabled unless there is no alternative. If NFS serving is required, then read-only exports are recommended and no filesystem or directory should be exported with root access. Unless otherwise required the NFS daemons (rcnfs) will be disabled.
If NFS is a mission requirement and is documented with the information system security officer (ISSO), this requirement is not applicable. From the command prompt, execute the following command: # lsitab rcnfs If the command yields any output, this is a finding.
In "/etc/inittab", remove the "rcnfs" entry by running the following command: # rmitab rcnfs To request the init command to re-examine the "/etc/inittab" file, enter: # telinit q