1. Home
  2. Security Hardening
  3. CIS Ubuntu 12.04 LTS Benchmark L1 V1.1.0
  4. Ensure rsh server is not enabled – ‘login’

Ensure rsh server is not enabled – ‘login’

Details

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

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles