The macOS system must remove password hints from user accounts.
An XCCDF Rule
Description
<VulnDiscussion>User accounts must not contain password hints. Password hints leak information about passwords that are currently in use and can lead to loss of confidentiality.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-259544r941254_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Configure the macOS system to remove password hints from user accounts with the following command:
for u in $(/usr/bin/dscl . -list /Users UniqueID | /usr/bin/awk '$2 > 500 {print $1}'); do
/usr/bin/dscl . -delete /Users/$u hint
done