Change password after 30 Days

MPB
New Contributor II

Hello,

we use OS X 10.11.6 and only local accounts (no LDAP, AD or something else). Now i try to set the policy "maxMinutesUntilChangePassword" for the user accounts. The problem is now, when the user is logging in he get always the message "Your password expire in 29 days..." with the option "change password" or "continue".

What can i do to hide the annoying message?

2 REPLIES 2

chad_fox
Contributor II

Try this:

#!/bin/sh
sudo defaults write /Library/Preferences/com.apple.loginwindow PasswordExpirationDays -int 0

https://jamfnation.jamfsoftware.com/discussion.html?id=18065

gachowski
Valued Contributor II

So,

The man page isn't the easiest to read and parts are working in the OS and parts aren't. Here is the best thread that I could find anywhere on how to correctly use the new password parts of the tool...(policyCategory.plist)

https://jamfnation.jamfsoftware.com/discussion.html?id=18574

I think you really have to try setting the password rules with a "policyCategory.plist" or config profiles to manage the password "Apple Correctly"

Yes it's a lot more work but I would bet you will have less issues in the long run : )

C