UCF STIG Viewer Logo

The kshell daemon must be disabled on AIX.


Overview

Finding ID Version Rule ID IA Controls Severity
V-215384 AIX7-00-003079 SV-215384r508663_rule Medium
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.
STIG Date
IBM AIX 7.x Security Technical Implementation Guide 2022-06-06

Details

Check Text ( C-16582r294603_chk )
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 Text (F-16580r294604_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