Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save melmatsuoka/97dcc983d1d891534a34950e80e3cb85 to your computer and use it in GitHub Desktop.
Save melmatsuoka/97dcc983d1d891534a34950e80e3cb85 to your computer and use it in GitHub Desktop.
Re-enable Apple Watch & Touch ID support for 'sudo' after macOS updates
echo -e "auth sufficient pam_watchid.so\nauth sufficient pam_tid.so" | cat - /etc/pam.d/sudo | sudo tee /etc/pam.d/sudo > /dev/null
@tjluoma
Copy link

tjluoma commented Jan 4, 2024

Note that according to https://support.apple.com/en-us/HT213893

Touch ID can be allowed for sudo with a configuration that persists across software updates using /etc/pam.d/sudo_local. See /etc/pam.d/sudo_local.template for details.

FYI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment