The AIX rexec daemon must not be running.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| high | V-215257 | SRG-OS-000074-GPOS-00042 | AIX7-00-002058 | SV-215257r987796_rule | 2026-02-06 | 3 |
Description
The exec service is used to execute a command sent from a remote server. The username and passwords are passed over the network in clear text and therefore insecurely. Unless required the rexecd daemon will be disabled. This function, if required, should be facilitated through SSH.
ℹ️ Check
Determine if the "rexec" daemon is running by running the following command:
# grep "^exec[[:blank:]]" /etc/inetd.conf
If the above grep command returned a line that contains "rexecd", this is a finding.
✔️ Fix
Disable the "rexecd" entry in "/etc/inetd.conf" using command:
# chsubserver -r inetd -C /etc/inetd.conf -d -v 'exec' -p 'tcp6'
Reload the inetd process:
# refresh -s inetd