The kshell daemon must be disabled on AIX.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-215384SRG-OS-000095-GPOS-00049AIX7-00-003079SV-215384r958478_rule2024-08-163
Description
The kshell service offers a higher degree of security than traditional rsh services. However, it still does not use encrypted communications. The recommendation is to use SSH wherever possible instead of kshell. If the kshell service is used, you should use the latest Kerberos version available and must make sure that all the latest patches are installed.
ℹ️ Check
From the command prompt, execute the following command: # grep "^kshell[[:blank:]]" /etc/inetd.conf If there is any output from the command, this is a finding.
✔️ Fix
In "/etc/inetd.conf", comment out the "kshell" entry by running command: # chsubserver -r inetd -C /etc/inetd.conf -d -v 'kshell' -p 'tcp' Restart inetd: # refresh -s inetd