RHEL 9 must not have the rsh-server package installed.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-257830SRG-OS-000095-GPOS-00049RHEL-09-215035SV-257830r958478_rule2025-02-272
Description
The "rsh-server" service provides unencrypted remote access service, which does not provide for the confidentiality and integrity of user passwords or the remote session and has very weak authentication. If a privileged user were to login using this service, the privileged user password could be compromised. The "rsh-server" package provides several obsolete and insecure network services. Removing it decreases the risk of accidental (or intentional) activation of those services.
ℹ️ Check
Verify that the rsh-server package is not installed with the following command: $ sudo dnf list --installed rsh-server Error: No matching Packages to list If the "rsh-server" package is installed, this is a finding.
✔️ Fix
Remove the rsh-server package with the following command: $ sudo dnf remove rsh-server