macOS
TMA-MACOS-5.2.3
Ensure Complex Password Must Contain Alphabetic Characters Is Configured
Description
Complex passwords contain one character from each of the following classes: English uppercase letters, English lowercase letters, Westernized Arabic numerals, and non- alphanumeric characters. Ensure that an Alphabetic character is part of the password policy on the computer.
Méthode de vérification
Méthode d'audit: Revue manuelle
GUI: System Settings > General > Device Management > Verify that an installed profile has Requires Alphanumeric set to True. Terminal: pref1=$(sudo /usr/bin/pwpolicy -getaccountpolicies | /usr/bin/grep -e "Contain at least one number and one alphabetic character." | cut -b 13-68) && pref2=$(sudo /usr/bin/pwpolicy -getaccountpolicies | /usr/bin/grep -A1 minimumLetters | ...
Méthode de correction
Méthode de correction: Recommandation ou correctif d'infrastructure
Profile (preferred): com.apple.mobiledevice.passwordpolicy requireAlphanumeric = <true/>. Terminal: sudo /usr/bin/pwpolicy -n /Local/Default -setglobalpolicy -setaccountpolicies "requiresAlpha=<value≥1>" ; sudo /usr/bin/pwpolicy -n /Local/Default -setglobalpolicy "requiresAlpha=1".
Propriétés
- Systèmes d'exploitation
- macos-26
- Étiquettes
- macossystem-access
- Référence
- CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 5.2.3 Ensure Complex Password Must Contain Alphabetic Characters Is Configured