Skip to content

Instantly share code, notes, and snippets.

@leontebbens
Forked from threesquared/intune.md
Created May 26, 2020 12:11
Show Gist options
  • Save leontebbens/60c6c12f664a26b8ab189e0eee6fa4d7 to your computer and use it in GitHub Desktop.
Save leontebbens/60c6c12f664a26b8ab189e0eee6fa4d7 to your computer and use it in GitHub Desktop.
Disable Microsoft Intune password policy on MacOS

Microsoft Intune can enforce some pretty crazy password policies. Fortunately if you have root access you can disable the policy and reset your password to whatever you want with the following command:

$ sudo pwpolicy clearaccountpolicies

Then you can change your password as normal with:

$ passwd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment