2.1.6 Ensure rsh server is not enabled - 'rsh'

Information

The Berkeley rsh-server (rsh, rlogin, rexec) package contains legacy services that exchange credentials in clear-text. 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, rlogin, and rexec services in /etc/xinetd.conf and /etc/xinetd.d/*.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 20d4a39bfe6959b0726d2aed7e61daf38be16d7ee8cc8a633aa199e29c3513db