Skip to content

Instantly share code, notes, and snippets.

@ElijahLynn
Last active September 15, 2025 23:00
Show Gist options
  • Select an option

  • Save ElijahLynn/4fd1a101675613285604079958ad09e9 to your computer and use it in GitHub Desktop.

Select an option

Save ElijahLynn/4fd1a101675613285604079958ad09e9 to your computer and use it in GitHub Desktop.
fingerprint sudo on mac

TIL: For a consistent fingerprint auth experience on Mac, for both GUI and CLI, I learned that I can add this snippet to the top of /etc/pam.d/sudo:

auth       sufficient     pam_tid.so

and now everytime I get a password prompt, I instead get a fingerprint popup modal. Saves a ton of time if you have a longer password.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment