Skip to content

Instantly share code, notes, and snippets.

@threesquared
Created September 11, 2018 15:12
Show Gist options
  • Save threesquared/17a3333f5bab42b7ed79033444d231cf to your computer and use it in GitHub Desktop.
Save threesquared/17a3333f5bab42b7ed79033444d231cf 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