Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@nordineb
Created March 9, 2021 07:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nordineb/757c66df93690de9d3a39890a63cbbf0 to your computer and use it in GitHub Desktop.
Save nordineb/757c66df93690de9d3a39890a63cbbf0 to your computer and use it in GitHub Desktop.
Touch ID for sudo

sudo vi /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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment