TMAegisベータ
macos のその他のルール

macOS

TMA-MACOS-5.2.5

Ensure Complex Password Must Contain Special 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 special character is part of the password policy on the computer.

チェック方法

監査方法: 手動レビュー

この推奨事項は自動ではチェックできません。--include-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 | ...

修正方法

修正方法: ガイダンスまたは IaC パッチ

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

プロパティ

オペレーティングシステム
macos-26
タグ
macossystem-access
参照
CIS Apple macOS 26 Tahoe Benchmark v1.1.0 - 5.2.5 Ensure Complex Password Must Contain Special Character Is Configured