- OS: MacOS Sonoma 14.5
- Device: M1 MacBook Pro
In macOS Sonoma, a new method has been introduced to enable Touch ID when running sudo
commands, making it more persistent across system updates. Previously, editing the /etc/pam.d/sudo
file was necessary, but these changes would often revert after an update, requiring reconfiguration. With Sonoma, the settings can be added to a separate file /etc/pam.d/sudo_local
, which isn't overwritten during updates, allowing Touch ID to remain enabled for sudo
commands consistently.