Skip to content

Instantly share code, notes, and snippets.

@roustem
Last active January 7, 2021 17:55
Show Gist options
  • Save roustem/4b95a297af377dc4d03316fa7b112c0f to your computer and use it in GitHub Desktop.
Save roustem/4b95a297af377dc4d03316fa7b112c0f to your computer and use it in GitHub Desktop.
Use TouchID for sudo

Use TouchID for sudo

sudo vi /etc/pam.d/sudo
# add first line:
auth       sufficient     pam_tid.so

If using iTerm2:

Turn off Prefs > Advanced > Allow sessions to survive logging out and back in..

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