MacOS – ny way to change a password hint without changing the password

macospassword

I have made a typo in my password hint! However, I don't see any way to correct this typo without creating a brand-new password. I don't want to do that either because this is a company computer and the password is managed by the company (and I can't use the same password twice).

How do I fix the typo in my password hint without changing the whole password?

Best Answer

dscl . -merge /Users/username hint "your password hint"
  • Replace username with the short name of the account you wish to modify.
  • Replace your password hint with the hint you would like to set for the account.

dscl is the Directory Service command line utility.
. is the local machine.
-merge allows you to add a new key to a record path.
/Users/username is the record path for the key.
hint is the key you would like to assign a value.
your password hint is the string value for the key.