At one point or another, you may have discovered that you can enable Touch ID for sudo
in the macOS terminal. You used to have to manually edit the /etc/pam.d/sudo
file after every macOS update to re-enable it, but now you can keep it enabled permanently.
When you have Touch ID enabled for sudo
, you get this cool little prompt for your fingerprint when you use a sudo
command:
But if you have Secure Keyboard Entry enabled…
… you may notice that the Touch ID prompt shows up but is greyed out…
… and you’ll have to click on it with your mouse in order for Touch ID to work for sudo
So, if that annoys you, you may want to uncheck Secure Keyboard Entry (either temporarily or permanently).
Leave a Reply