On AIX, the SSH server must not permit root logins using remote access programs.
An XCCDF Rule
Description
<VulnDiscussion>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.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-215287r508663_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
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