TMAegis
More rules for macos

TMA-MACOS-2.11.5

Ensure Show Password Hints Is Disabled

HighLevel 1Automatedmacos

Description

Password hints are user-created text displayed when an incorrect password is used for an account.

How it is checked

Audit method: Shell command

shell
/usr/bin/osascript -l JavaScript <<'EOS'
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.loginwindow').objectForKey('RetriesUntilHint').js
EOS
Expected output
0

How it is fixed

Fix method: Guidance or infrastructure patch

Profile (preferred): com.apple.loginwindow RetriesUntilHint = <integer>0</integer>. Terminal: sudo /usr/bin/defaults write /Library/Preferences/com.apple.loginwindow RetriesUntilHint -int 0. GUI: System Settings > Lock Screen > Set 'Show password hints` to disabled.

Properties

Operating systems
macos-26
Tags
macossystem-settings
Reference
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.11.5 Ensure Show Password Hints Is Disabled

Check this host

Run this on a machine you are allowed to audit. The scan is read-only.

shell
tmaegis scan --target macos