Terminal

Bash scripts, command line tips, etc.

Authenticate Terminal sudo commands with TouchID on macOS

If you want to enable TouchID for sudo Terminal commands on macOS you'll need to edit /etc/pam.d/sudo and add the following line at the top of the file:

auth sufficient pam_tid.so