AlmaLinux OS 9 must not have the rsh package installed.

STIG ID: ALMA-09-030710 |  SRG: SRG-OS-000095-GPOS-00049 |  Severity: medium |  CCI:  | Vulnerability Id: V-269351

Vulnerability Discussion

The "rsh" package provides a client for several obsolete and insecure network services. Removing it decreases the risk of accidental (or intentional) use of those services.

Check

Remove the rsh package with the following command:

$ dnf remove rsh

Fix

Verify that the rsh package is not installed with the following command:

$ dnf list --installed rsh

Error: No matching Packages to list

If the "rsh" package is installed, this is a finding.