TMAegis베타
macos 관련 규칙 더 보기

macOS

TMA-MACOS14-5.2.6

Ensure Complex Password Must Contain Uppercase and Lowercase Characters 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 both uppercase and lowercase letters are part of the password policy on the computer. The more complex a password, the more resistant it will be against persons seeking unauthorized access to a system.

점검 방법

감사 방식: 수동 검토

이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.

Terminal Method: Run the following command to verify that the password requires an upper and lower case letter: % pref=$(/usr/bin/sudo /usr/bin/pwpolicy -getaccountpolicies | /usr/bin/grep -A1 minimumMixedCaseCharacters | /usr/bin/tail -1 | /usr/bin/cut -d'>' -f2 | /usr/bin/cut -d '<' -f1) && if [[ "$pref" != "" && pref -ge 1 ]]; then echo "true"; else echo "false"; fi true

조치 방법

조치 방식: 가이드 또는 인프라 패치

Terminal Method: Run the following command to set passwords to require an upper and lower case letter: % /usr/bin/sudo /usr/bin/pwpolicy -n /Local/Default -setglobalpolicy "requiresMixedCase=<value≥1>" example: % /usr/bin/sudo /usr/bin/pwpolicy -n /Local/Default -setglobalpolicy "requiresMixedCase=1"

속성

운영 체제
macos-14
태그
authmacossonoma
참고 자료
CIS Apple macOS 14.0 Sonoma Benchmark v3.1.0 - 5.2.6 Ensure Complex Password Must Contain Uppercase and Lowercase Characters Is Configured