APPL-14-003014 - The macOS system must remove password hints from user accounts.

Information

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.

Solution

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Apple_macOS_14_V2R2_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-6, CAT|II, CCI|CCI-000206, Rule-ID|SV-259544r958470_rule, STIG-ID|APPL-14-003014, Vuln-ID|V-259544

Plugin: Unix

Control ID: 599434359feb4965b9e1e4ea003ed61c7bc36cfbf3ffb384f539aa3b24feaf81