TMAegisBeta
更多 macos 規則

macOS

TMA-MACOS15-5.2.4

Ensure Complex Password Must Contain Numeric Character Is Configured

高等級 2人工審核macos

說明

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 number or numeric value is part of the password policy on the computer.

檢查方式

稽核方法: 人工審核

此項建議無法自動檢查。當您傳入 --include-manual 時,掃描結果會列出此項目並附帶這些說明。

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 ...

修補方式

修補方法: 操作指南或基礎設施修補檔

Profile (preferred): com.apple.mobiledevice.passwordpolicy requireAlphanumeric = <true/>. Terminal: sudo /usr/bin/pwpolicy -n /Local/Default -setglobalpolicy -setaccountpolicies "requiresNumeric=<value≥1>" ; sudo /usr/bin/pwpolicy -n /Local/Default -setglobalpolicy "requiresNumeric=2".

屬性

作業系統
macos-15
標籤
macossystem-access
參考資料
CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 5.2.4 Ensure Complex Password Must Contain Numeric Character Is Configured