Ensure rsh server is not enabled - rexec

Information

These legacy services contain numerous security exposures and have been replaced with the more secure SSH package.

Solution

Comment out or remove any lines starting with shell, login, or exec from /etc/inetd.conf and /etc/inetd.d/*.
Set disable = yes on all rsh, rsh, and rexec services in /etc/xinetd.conf and /etc/xinetd.d/*.

See Also

https://www.cisco.com/c/en/us/td/docs/security/firepower/623/configuration/guide/fpmc-config-guide-v623.html