InformationComplex 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.
The more complex a password the more resistant it will be against persons seeking unauthorized access to a system.
Password policy should be in effect to reduce the risk of exposed services being compromised easily through dictionary attacks or other social engineering attempts.
SolutionPerform the following to enable passwords to require at least 1 numeric characters:
Run the following command to set passwords to require at least one number:
$ sudo /usr/bin/pwpolicy -n /Local/Default -setglobalpolicy -setaccountpolicies 'requiresNumeric=<value>=1>'
$ sudo /usr/bin/pwpolicy -n /Local/Default -setglobalpolicy 'requiresNumeric=2'
Create or edit a configuration profile with the PayLoadType of com.apple.mobiledevice.passwordpolicy
Add the key requireAlphanumeric
Set the key to <integer><value>=1></integer>
Note: This profile requires both an alphabetical and numeric characters.