Skip to content

Instantly share code, notes, and snippets.

@v-thomp4
Created September 14, 2020 05:20
Show Gist options
  • Save v-thomp4/353490a1a46095cc8059a0f6fade545b to your computer and use it in GitHub Desktop.
Save v-thomp4/353490a1a46095cc8059a0f6fade545b to your computer and use it in GitHub Desktop.
Enabling Touch ID authorization for sudo on macOS
brew install fabianishere/personal/pam_reattach
cat /etc/pam.d/sudo
# sudo: auth account password session
auth sufficient pam_tid.so
auth sufficient pam_smartcard.so
auth required pam_opendirectory.so
account required pam_permit.so
password required pam_deny.so
session required pam_permit.so
auth optional pam_reattach.so
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment