MacOS use TouchID for sudo

Thanks to 50 macOS Tips and Tricks Using Terminal (the last one is CRAZY!) here is an trick

sudo vim /etc/pam.d/sudo

and add at the top:

auth sufficient pam_tid.so

and after that whenever sudo will ask you for a password you may use your finger