I know... use a fingerprint scanner and never come back. No need to write passwords, pins or patterns. But on the terminal when we use the magic word
sudo ask for your password... yuck!!!
Don't worry. It can be solved easily. Edit this file
/etc/pam.d/sudo with your favorite editor. Mine is the VS Code because can deal with admin permission. Run this command on a terminal.
Add the following line on top
auth sufficient pam_tid.so
On default terminal works like a charm, but on iTerm2 need an extra configuration. Go to
Prefs -> Advanced -> Allow sessions to survive logging out and back in and set value to
Restart and enjoy it.
That's All Folks!
Happy Coding 🖖