5.1.2 Ensure rsh server is not enabled - 'shell'

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

The Berkeley rsh-server (rsh, rlogin, rcp) package contains legacy services that exchange
credentials in clear-text.


*Rationale*

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://benchmarks.cisecurity.org/tools2/linux/CIS_Ubuntu_12.04_LTS_Server_Benchmark_v1.1.0.pdf