One-liner to enable Touch ID for sudo
You may already know how to enable Touch ID for sudo
already, but it’s constantly getting disabled after each update of macOS. This one-liner is a no-brainer to enable it again. Basically, type it once in your terminal, and type ‘^R pam.d ENTER
’ to enable it again once needed and it will be enabled again.
sudo sed -i '' '2i\
auth sufficient pam_tid.so
' /etc/pam.d/sudo
Read other posts