Skip to content

Instantly share code, notes, and snippets.

@mateusmedeiros
Last active September 7, 2018 20:25
Show Gist options
  • Save mateusmedeiros/47dc6fba456cbabc5b6c033efdb84c03 to your computer and use it in GitHub Desktop.
Save mateusmedeiros/47dc6fba456cbabc5b6c033efdb84c03 to your computer and use it in GitHub Desktop.
Touch ID for 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment