pwpolicy / newPasswordRequired=1 not enforced at next login
Hi
I have a script that works perfectly under 10.7 and 10.8 but 10.6 is not working
At Logout, I've set a Logouthook, that works, that does the following command:
pwpolicy -u username -setpolicy "minChars=8 newPasswordRequired=1"
On 10.7 and 10.8, when the user next logs in, they type in their password and are prompted to change their password.
On 10.6, no. man pwpolicy suggests that the user will be prompted to change their password when the next authentication prompt occurs (application dependant)
I've checked that the pwpolicy command has actually been run using pwpolicy -getpolicy and it's been successful
Ideas?