TMAegis
macos のその他のルール

TMA-MACOS-2.12.1

Ensure Users' Accounts Do Not Have a Password Hint

高レベル 1自動macos

説明

Password hints help the user recall their passwords for various systems and/or accounts. In most cases, password hints are simple and closely related to the user's password. Audit: Counts users that have any password hint text.

チェック方法

監査方法: シェルコマンド

shell
out=$(/usr/bin/dscl . -list /Users hint 2>/dev/null) || exit 1
printf '%s\n' "$out" | /usr/bin/awk 'NF > 1 {n++} END {print n+0}'
期待される出力
0

修正方法

修正方法: ガイダンスまたは IaC パッチ

Terminal: sudo /usr/bin/dscl . -list /Users hint . -delete /Users/<username> hint ; sudo /usr/bin/dscl . -list /Users hint . -delete /Users/firstuser hint ; sudo /usr/bin/dscl . -list /Users hint . -delete /Users/seconduser hint. GUI: System Settings > Touch ID & Passwords (or Login Password on non-Touch ID Macs) > Change > Change the password and ensure that no text is entered in the Password hint box.

プロパティ

オペレーティングシステム
macos-26
タグ
macossystem-settings
参照
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.12.1 Ensure Users' Accounts Do Not Have a Password Hint

このホストをチェック

監査が許可されているマシンで実行してください。スキャンは読み取り専用です。

shell
tmaegis scan --target macos