Rule version AIX7-00-002116 · STIG v3 · 2026-08-31
If other users have access to modify user-specific SSH configuration files, they may be able to log into the system as another user.
Check the SSH daemon configuration for the "StrictModes" setting using command:
# grep -i StrictModes /etc/ssh/sshd_config | grep -v '^#' StrictModes yes
If the setting is missing or is set to "no", this is a finding.
Edit the "/etc/sshd/sshd_config" file and add or change the "StrictModes" setting to "yes".
Restart the SSH daemon: # stopsrc -s sshd # startsrc -s sshd