You can use Touch ID for sudo
TL;DR:
Apple ships a PAM module called pam_tid.so that asks the fingerprint sensor instead.
Longer Read:
I got tired of typing my password every time I ran my agents ran sudo, so I switched it to Touch ID. The source code, install steps and notes on how I tracked down the screen capture problem are in the macos-touchid-sudo skill in my skills repository . I put it in the skills repository so I could set it up on my other two MacBooks, and it works just as well on those.
Related Skills:
Software Design
💬 0 comments