TMAegis
更多 macos 规则

TMA-MACOS-2.11.5

Ensure Show Password Hints Is Disabled

高级别 1自动化macos

说明

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

检查方式

审计方法: Shell 命令

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

修复方式

修复方法: 操作指南或基础设施补丁

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.

属性

操作系统
macos-26
标签
macossystem-settings
参考
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.11.5 Ensure Show Password Hints Is Disabled

检查本机

请在您有权审计的机器上运行此命令。扫描为只读操作。

shell
tmaegis scan --target macos