macOS
TMA-MACOS15-5.2.5
Ensure Complex Password Must Contain Special Character Is Configured
Descrição
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 a special character is part of the password policy on the computer.
Como é verificado
Método de auditoria: Revisão manual
GUI: System Settings > General > Device Management > Verify that an installed profile has Min Complex Length set to ≥ 1. Terminal: pref1=$(sudo /usr/bin/pwpolicy -getaccountpolicies | /usr/bin/grep -e "policyAttributePassword matches '(.*[^a-zA-Z0-9].*){1,}'" | cut -b 12-67) && pref2=$(sudo /usr/bin/pwpolicy -getaccountpolicies | /usr/bin/grep -A1 minimumSymbols | ...
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
Profile (preferred): com.apple.mobiledevice.passwordpolicy minComplexChars = <integer><value≥1></integer>. Terminal: sudo /usr/bin/pwpolicy -n /Local/Default -setglobalpolicy -setaccountpolicies "requiresSymbol=<value≥1>" ; sudo /usr/bin/pwpolicy -n /Local/Default -setglobalpolicy "requiresSymbol=1".
Propriedades
- Sistemas operacionais
- macos-15
- Tags
- macossystem-access
- Referência
- CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 5.2.5 Ensure Complex Password Must Contain Special Character Is Configured