You can enable the fingerprint reader for sudo on macOS, and pressing my finger on a button beats having to type the password, steps:
cp /etc/pam.d/sudo_local{.template,}
- Edit
/etc/pam.d/sudo_local
and uncommentauth sufficient pam_tid.so
.
The reason for doing this in sudo_local
is that this file will not get reset with system changes from Apple.