WatchID Auth is a PAM (Pluggable Authentication Modules) plugin designed to enable authentication using the new kLAPolicyDeviceOwnerAuthenticationWithBiometricsOrWatch API in macOS 10.15 and later. It is written in Swift
-
Run the following command with
sudoprivileges to install the plugin:$ sudo make install -
Edit the
/etc/pam.d/sudofile and add the following line as the first entry:auth sufficient watchid-auth.so "reason=execute a command as root"Note: Ensure that you retain any existing
authconfigurations in the file.