macOS
TMA-MACOS15-2.12.1
Ensure Users' Accounts Do Not Have a Password Hint
Описание
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.
Как проверяется
Метод проверки: Команда оболочки
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
Как исправляется
Метод исправления: Рекомендация или патч инфраструктуры
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-15
- Теги
- macossystem-settings
- Источник
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 2.12.1 Ensure Users' Accounts Do Not Have a Password Hint
Проверить этот хост
Выполните команду на компьютере, аудит которого вам разрешён. Сканирование работает только на чтение.
tmaegis scan --target macos