STIGUI
V-215287CAT II — Medium severitySV-215287r1268251_rule

On AIX, the SSH server must not permit root logins using remote access programs.

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

Discussion

Permitting direct root login reduces auditable information about who ran privileged commands on the system and also allows direct attack attempts on root's password.

Check

Determine if the SSH daemon is configured to disable root logins: # grep -iE "PermitRootLogin[[:blank:]]*no" /etc/ssh/sshd_config | grep -v \#

If the above command displays a line, the root login is disabled.

If the root login is not disabled, this is a finding.

Fix

Edit the "/etc/ssh/sshd_config" file to have the following line and save the change: PermitRootLogin no

Restart SSH daemon: # stopsrc -s sshd # startsrc -s sshd

Identifiers

Group ID
V-215287
Group title
SRG-OS-000480-GPOS-00227
Rule ID
SV-215287r1268251_rule
Check ID
C-16485r294312_chk
Fix ID
F-16483r294313_fix