DISA STIGS Viewer

The AIX rexec daemon must not be running.

Overview

Finding ID Version Rule ID IA Controls Severity
V-215257 AIX7-00-002058 SV-215257r987796_rule   High
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.
STIG Date
IBM AIX 7.x Security Technical Implementation Guide 2024-08-16

Details

Check Text (C-16455r294222_chk)
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 Text (F-16453r294223_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