How to Set a Short User Password in macOS Mojave and Later (10.14+) I just installed macOS Mojave and put in my usual short desktop-only password I've been using for years (yes, you read that right). Now though, the operating system rejects setting a password less than 4 characters. It also does not allow having no password at all.

I am completely comfortable using the shell if need be.

How can I change the password policy to allow quite short passwords?
You can also use the much more straightforward command:

pwpolicy -clearaccountpolicies


to remove the 4-character requirement for all users.  The man page gives other useful examples if you want to change the policy on a per-user basis.