Skip to content

Instantly share code, notes, and snippets.

@dtelaroli
Last active October 13, 2023 08:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dtelaroli/b27968145c586813f49049e88eb38b3a to your computer and use it in GitHub Desktop.
Save dtelaroli/b27968145c586813f49049e88eb38b3a to your computer and use it in GitHub Desktop.
How to activate Macbook TouchID in the Terminal
  1. Open the sudo file:
sudo vim /etc/pam.d/sudo
  1. Add the line above in the first line of the sudo file
auth sufficient pam_tid.so

2.1) [Optional] For iTerm2 you should set the preference:

Allow sessions to survive logging out and back in: No
  1. Exit the vim and terminal
Press in order: 
a) Esc 
b) : (colon)
c) x!
d) exit
  1. Reopen the terminal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment