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
# Ensure that Touch ID for sudo auth is enabled whenever the shell is loaded. | |
# | |
# IMPORTANT: This script will only work on macOS. | |
# | |
# [Description] | |
# macOS versions prior to Sonoma (released late 2023) overwrite | |
# the PAM configuration file for sudo (/etc/pam.d/sudo) every time the OS is updated. | |
# This means that any changes that you manually make to the file are lost, | |
# and you are reverted back to Touch ID for sudo auth being disabled. | |
# This script will automatically enable Touch ID for sudo auth whenever the shell is loaded. |
OlderNewer