# MacOS's Touch ID on Terminal

```bash
sudo /etc/pam.d/sudo
```

Add the following line **on top**<br>

```
auth sufficient pam_tid.so
```

![](https://3138557001-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lx1oAJof6-l-hClJJLt%2Fuploads%2F1hsx4giaGaPNfEmFjdtV%2FScreen%20Shot%202021-10-21%20at%2021.15.54.png?alt=media\&token=e03bfea1-ce41-4dd5-bb60-71724206b578)

Ref: <https://dev.to/equiman/how-to-use-macos-s-touch-id-on-terminal-5fhg>
