RHEL 9 must not have accounts configured with blank or null passwords.
An XCCDF Rule
Description
<VulnDiscussion>If an account has an empty password, anyone could log in and run commands with the privileges of that account. Accounts with empty passwords should never be used in operational environments.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-258120r926347_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Configure all accounts on RHEL 9 to have a password or lock the account with the following commands:
Perform a password reset:
$ sudo passwd [username]