The following is derived from the article Use Touch ID for sudo on Mac: Credits to: https://gist.github.com/GLMeece/08a0b1da2d28437466a68e2e563089bc
- Input 1 liner in Terminal.
sudo sed -i '' '2 i \
auth sufficient pam_tid.so
' /etc/pam.d/sudo
Note 1: I suppose it goes without saying that you'll need to provide your SUDO (Administrator) password for this step. If you're logged into a user account that doesn't have Admin privileges, you'll need to do that first.
Note 2: there will be a warning at the bottom of the edit screen: [ /etc/pam.d/sudo is meant to be read-only ]
- There is no step 2! 😆