The AIX rsh daemon must be disabled.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| high | V-215346 | SRG-OS-000074-GPOS-00042 | AIX7-00-003040 | SV-215346r987796_rule | 2026-02-06 | 3 |
Description
The rsh daemon permits username and passwords to be passed over the network in clear text.
ℹ️ Check
From the command prompt, run the following command:
# grep -v "^#" /etc/inetd.conf |grep rshd
The above command may show the daemon is enabled like this:
shell stream tcp6 nowait root /usr/sbin/rshd rshd
If the above grep command returned a line that contains "rshd", this is a finding.
✔️ Fix
Edit the "/etc/inetd.conf" file and comment out the "rshd" service.
Restart the inetd service:
# refresh -s inetd