On AIX, the SSH server must not permit root logins using remote access programs.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-215287 | AIX7-00-002102 | SV-215287r991589_rule | CCI-000366 | medium |
| Description | ||||
| 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. | ||||
| STIG | Date | |||
| IBM AIX 7.x Security Technical Implementation Guide | 2024-08-16 | |||
Related Frameworks
4 paths across 3 frameworks
Related Frameworks
NIST 800-531 mapping
CM-6
1.00
- DISA · 3 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1712 mappings
3.4.1
1.00
- DISA · 3 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
3.4.2
1.00
- DISA · 3 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-000366
1.00
- DISA · 3 · disa_xccdf · related
Details
Check Text (C-215287r991589_chk)
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 Text (F-16483r294313_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