TMAegisBeta
More rules for macos

macOS

TMA-MACOS15-5.2.4

Ensure Complex Password Must Contain Numeric Character Is Configured

HighLevel 2Manual reviewmacos

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

How it is checked

Audit method: Manual review

This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --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 ...

How it is fixed

Fix method: Guidance or infrastructure patch

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

Properties

Operating systems
macos-15
Tags
macossystem-access
Reference
CIS Apple macOS 15.0 Sequoia Benchmark v2.1.0 - 5.2.4 Ensure Complex Password Must Contain Numeric Character Is Configured