Unable to unlock System Preferences using OSX Catalina

I was unable to unlock my System Preferences using my password. And my password was working fine for doing sudo or logging in to the computer.

I tried two solutions found on the Internet.

Regenerating auth.db file.

The first one that didn't work for me was to regenerate the auth.db file from /System/Library/Security/authorization.plist.

From your terminal execute

cd /var/db
sudo mv auth.db auth.db.bak

Reset SMC (System Management Controller) of your Mac

Before resetting SMC try:

  1. Shut down your Mac.
  2. Press and hold the power button for 10 seconds, then release the button.
  3. Wait a few seconds, then press the power button to turn on your Mac. If the issue persists, follow these steps to reset the SMC:

To reset your SMC:

  1. Shut down your Mac.
  2. On your built-in keyboard, press and hold all of these keys:
  • Shift on the left side of your keyboard
  • Control on the left side of your keyboard
  • Option (Alt) on the left side of your keyboard
  1. While holding all three keys, press and hold the power button as well. Notebook keyboard with all 4 keys pressed
  2. Keep holding all four keys for 10 seconds.
  3. Release all keys, then press the power button to turn on your Mac.

I hope that everything works now. With these solutions I was able to unlock my System Preferences again.

Victor Yoalli

This is me.