This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# curl -sL https://gist.githubusercontent.com/RichardBronosky/31660eb4b0f0ba5e673b9bc3c9148a70/raw/touchid_sudo.sh | bash | |
# This script is ready to copy-paste in whole, or just the line above (without the leading #) | |
# Use TouchID for sudo on modern MacBook Pro machines | |
# This script adds a single line to the top of the PAM configuration for sudo | |
# See: https://apple.stackexchange.com/q/259093/41827 for more info. | |
touchid_sudo(){ |