Skip to content

Instantly share code, notes, and snippets.

@georgiyordanov
Forked from steigr/pam-tid-sudo.sh
Created January 23, 2023 17:03
Show Gist options
  • Save georgiyordanov/01b062e9980e5c2062cfcc763a8268f6 to your computer and use it in GitHub Desktop.
Save georgiyordanov/01b062e9980e5c2062cfcc763a8268f6 to your computer and use it in GitHub Desktop.
Enable TouchID-support with sudo
#!/usr/bin/env bash
sudo sed -i '' -e '/^#/a\'$'\n''auth sufficient pam_tid.so' /etc/pam.d/sudo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment