Friday, December 21, 2018

[MAC] - How to use touchID on terminal

Add the instruction "auth sufficient pam_tid.so" on /etc/pam.d/sudo

Open terminal and write:
sudo vim /etc/pam.d/sudo
Now, add this line on bottom of file. (press i to insert and navigate with arrow down on your keyboard to the last line)
auth sufficient pam_tid.so
Save the file with command
esc + :wq!
Done, now you don't need any more add password on your terminal for sudo instructions.

No comments :

Post a Comment