Skip to content

Instantly share code, notes, and snippets.

@fraune
Last active September 19, 2025 22:02
Show Gist options
  • Save fraune/0831edc01fa89f46ce43b8bbc3761ac7 to your computer and use it in GitHub Desktop.
Save fraune/0831edc01fa89f46ce43b8bbc3761ac7 to your computer and use it in GitHub Desktop.
Let Touch ID authorize the `sudo` terminal command in macOS 14+
sudo sh -c 'echo "auth sufficient pam_tid.so" > /etc/pam.d/sudo_local'
@fraune
Copy link
Author

fraune commented Sep 11, 2024

Thanks again @andrewcrook and @fatso83

I have found success using sudo_local. I will be updating the original post to reflect this.

The revisions of this gist will still reflect the hack used for older versions of macOS.

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