Direct root account login must not be permitted for SSH access.
An XCCDF Rule
Description
<VulnDiscussion>The system should not allow users to log in as the root user directly, as audited actions would be non-attributable to a specific user.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-216354r603267_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
The root role is required.
Modify the sshd_config file
# pfedit /etc/ssh/sshd_config