STIGUI
V-215322CAT I — High severitySV-215322r987796_rule

AIX must disable /usr/bin/rcp, /usr/bin/rlogin, /usr/bin/rsh, /usr/bin/rexec and /usr/bin/telnet commands.

Rule version AIX7-00-003005 · STIG v3 · 2026-08-31

Discussion

The listed applications permit the transmission of passwords in plain text. Alternative applications such as SSH, which encrypt data, should be use instead.

Check

From the command prompt, execute the following commands: # ls -l /usr/bin/rcp | awk '{print $1}' # ls -l /usr/bin/rlogin | awk '{print $1}' # ls -l /usr/bin/rsh | awk '{print $1}' # ls -l /usr/bin/telnet | awk '{print $1}' # ls -l /usr/bin/rexec | awk '{print $1}'

Each of the above commands should return with the following permissions: ----------

If the permissions are more permissive, this is a finding.

Fix

Use the chmod command to remove all permissions on these commands: # chmod ugo= /usr/bin/rcp # chmod ugo= /usr/bin/rlogin # chmod ugo= /usr/bin/rsh # chmod ugo= /usr/bin/rexec # chmod ugo= /usr/bin/telnet

Identifiers

Group ID
V-215322
Group title
SRG-OS-000074-GPOS-00042
Rule ID
SV-215322r987796_rule
Check ID
C-16520r294417_chk
Fix ID
F-16518r294418_fix