Last active
March 7, 2025 23:56
-
-
Save ElijahLynn/07ba9b3c178fdcf55b3849c5ac11c52f to your computer and use it in GitHub Desktop.
How to use Mac fingerprint auth for sudo password prompt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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