macOS can ask for your fingerprint instead of your password when you run sudo. Turning it on takes one line in a config file.