Created
March 31, 2023 17:54
-
-
Save mys721tx/8a62222d47d53fe7f9f97d8f94a2ac3f to your computer and use it in GitHub Desktop.
Enabling TouchID support for sudo on Mac
This file contains 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
--- /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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is deprecated with
/etc/pam.d/sudo_local
.