5.1.2 Ensure rsh server is not enabled - shell

Information

The Berkeley rsh-server (rsh, rlogin, rcp) package contains legacy services that exchange credentials in clear-text. These legacy service contain numerous security exposures and have been replaced with the more secure SSH package.

Solution

Remove or comment out any shell, login, or exec lines in /etc/inetd.conf- #shell stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.rshd#login stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.rlogind#exec stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.rexecd

See Also

https://workbench.cisecurity.org/files/85

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b., CSCv6|9.1

Plugin: Unix

Control ID: 5e3c2ea98ba206551917a7d3f1349fe9e019f3e8dc53c94a64e72afe1bc00ecb