Touch ID for sudo
How to configure sudo to use Touch ID on macs
Add this line to /etc/pam.d/sudo
𝗮𝘂𝘁𝗵 𝘀𝘂𝗳𝗳𝗶𝗰𝗶𝗲𝗻𝘁 𝗽𝗮𝗺_𝘁𝗶𝗱.𝘀𝗼
Then save and the next time you run sudo you'll be prompted for Touch ID instead of your password.
Careful not to mess up this file. You'll have to go through hoops to fix it.
Last updated
Was this helpful?