STIGhubSTIGhub
STIGsRMF ControlsCompare
STIGhub— A free STIG search and compliance tool·STIGs updated 3 days ago
Powered by Pylon·Privacy·Terms·© 2026 Beacon Cloud Solutions, Inc.
← Back to Apple macOS 26 (Tahoe) Security Technical Implementation Guide

V-277149

CAT II (Medium)

The macOS system must remove password hints from user accounts.

Rule ID

SV-277149r1148899_rule

STIG

Apple macOS 26 (Tahoe) Security Technical Implementation Guide

Version

V1R2

CCIs

CCI-000206

Discussion

User accounts must not contain password hints. Password hints leak information about passwords in use and can lead to loss of confidentiality.

Check Content

Verify the macOS system is configured to remove password hints from user accounts with the following command:

HINT=$(/usr/bin/dscl . -list /Users hint | /usr/bin/awk '{ print $2 }')

if [ -z "$HINT" ]; then
echo "PASS"
else
echo "FAIL"
fi

If the result is not "PASS", this is a finding.

Fix Text

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