How to use your MacBook Pro fingerprint to sudo?

If you want to use your fingerprint as your sudo password on Macbook Pro edit /etc/pam.d/sudo and add the following line to the top

auth sufficient pam_tid.so

You can now use your fingerprint to sudo.


Discussion

Read Community Guidelines
You've successfully subscribed to Developer Insider
Great! Next, complete checkout for full access to Developer Insider
Welcome back! You've successfully signed in
Success! Your account is fully activated, you now have access to all content.