Thanks to this awesome Six Colors post: Quick Tip: Enable Touch ID for sudo
The short of it:
- In your terminal go to
cd /etc/pam.d/
. - Now open the
sudo
file with your favorite command-line/GUI text editor.- Note that if you open it via the command-line, you’ll need to use sudo itself to do so, since the file is (understandably) protected.
- With the
sudo
file open, add the following command below below the first line.auth sufficient pam_tid.so