Touch ID on MacBook

How to configure Touch ID to authorise sudo commands on macOS

The other day I was watching one of NetworkChuck’s recent videos where he was running through a bunch of shell commands for Mac, and one stuck out to me in particular… The ability to configure Touch ID to authorise sudo commands! 🤯 Edit the following file: sudo vim /etc/pam.d/sudo Add this line auth sufficient pam_tid.so to the top of the file, below the comment. It should look something like: # sudo: auth account password session auth sufficient pam_tid....

8 February 2023 · 1 min · Toby Scott