so after looking through discussion on here, i found using pwpolicy gets me the password policies i want. But every account I create is auto disabled and any existing local accounts are disabled.
I'm using the following command to set my policy: pwpolicy -nv /Local/Default -setglobalpolicy "usingExpirationDate=0 usingHardExpirationDate=0 usingHistory=5 requiresAlpha=1 requiresNumeric=1 requiresSymbol=1 maxMinutesUntilChangePassword=129600 minChars=8 maxFailedLoginAttempts=4 minutesUntilFailedLoginReset=30"
if anyone can shed some light on to why the accounts are auto disabled that would be great. I've even tried command like this: pwpolicy -u admin -enableuser and pwpolicy -u admin -clearaccountpolicies that when I run them I don't get an errors but the account still doesn't work.
