Blame
| ecdce5 | Arpan S. | 2024-10-15 14:29:24 | 1 | # MacOS Tricks | 
| 2 | ||||
| 3 | ### Enable TouchID for sudo | |||
| 4 | Setting this up will let you use TouchID to authenticate while using sudo, or during any password authentication on terminal. | |||
| 5 | ||||
| 6 | This only works for MacOS Sonoma (14) and above and persists throughout updates. | |||
| 7 | ``` | |||
| 8 | sed -e 's/^#auth/auth/' /etc/pam.d/sudo_local.template | sudo tee /etc/pam.d/sudo_local | |||
| 9 | ``` | |||
| 10 | ||||
| cc9831 | Arpan S. | 2024-10-15 14:29:34 | 11 | |
| ecdce5 | Arpan S. | 2024-10-15 14:29:24 | 12 | :::info | 
| 13 | You need to have TouchID pop-ups enabled, The easiest way to do this is to simply buy (free or paid) a new app from the app store and install it. | |||
| 14 | ::: | 
