Skip to content

Instantly share code, notes, and snippets.

@mys721tx
Created March 31, 2023 17:54
Show Gist options
  • Save mys721tx/8a62222d47d53fe7f9f97d8f94a2ac3f to your computer and use it in GitHub Desktop.
Save mys721tx/8a62222d47d53fe7f9f97d8f94a2ac3f to your computer and use it in GitHub Desktop.
Enabling TouchID support for sudo on Mac
--- /etc/pam.d/sudo 2023-03-31 09:17:20.230708973 -0700
+++ sudo 2023-03-31 09:14:05.772051938 -0700
@@ -1,4 +1,6 @@
# sudo: auth account password session
+auth optional /opt/homebrew/lib/pam/pam_reattach.so ignore_ssh
+auth sufficient pam_tid.so
auth sufficient pam_smartcard.so
auth required pam_opendirectory.so
account required pam_permit.so
@mys721tx
Copy link
Author

It is deprecated with /etc/pam.d/sudo_local.

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