TMAegis
Plus de règles pour macos

TMA-MACOS-2.12.1

Ensure Users' Accounts Do Not Have a Password Hint

ÉlevéeNiveau 1Automatiséemacos

Description

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.

Méthode de vérification

Méthode d'audit: Commande shell

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}'
Sortie attendue
0

Méthode de correction

Méthode de correction: Recommandation ou correctif d'infrastructure

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.

Propriétés

Systèmes d'exploitation
macos-26
Étiquettes
macossystem-settings
Référence
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 2.12.1 Ensure Users' Accounts Do Not Have a Password Hint

Vérifier cet hôte

Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.

shell
tmaegis scan --target macos