# MacOS Tricks
### Enable TouchID for sudo
Setting this up will let you use TouchID to authenticate while using sudo, or during any password authentication on terminal.
This only works for MacOS Sonoma (14) and above and persists throughout updates.
```
sed -e 's/^#auth/auth/' /etc/pam.d/sudo_local.template | sudo tee /etc/pam.d/sudo_local
```
:::info
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.
:::