Skip to content

Instantly share code, notes, and snippets.

@ElijahLynn
Last active March 7, 2025 23:56
Show Gist options
  • Save ElijahLynn/07ba9b3c178fdcf55b3849c5ac11c52f to your computer and use it in GitHub Desktop.
Save ElijahLynn/07ba9b3c178fdcf55b3849c5ac11c52f to your computer and use it in GitHub Desktop.
How to use Mac fingerprint auth for sudo password prompt
For a consistent fingerprint auth experience on Mac, for both GUI and CLI, I learned that I can add the below and everytime I would have gotten a password prompt, I now instead get a fingerprint popup modal. Saves a ton of time if you have a longer password.
/etc/pam.d/sudo Add this line to the TOP, bottom won't work.
```
auth sufficient pam_tid.so
````
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment