Created
September 14, 2020 05:20
-
-
Save v-thomp4/353490a1a46095cc8059a0f6fade545b to your computer and use it in GitHub Desktop.
Enabling Touch ID authorization for sudo on macOS
This file contains hidden or 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
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