use the touchbar on your MBP to sudo

just came about this tweet from @cabel:

Pro MacBook Pro Tip: have a Touch Bar with Touch ID? If you edit /etc/pam.d/sudo and add the following line to the top… auth sufficient pam_tid.so …you can now use your fingerprint to sudo!

Edit 28.05.2019: in iTerm 3.2.9 you have to set under “Preferences/Advanced” the value of “Allow sessions to survive logging out and back in.” to “No” for this to work.

Leave a Reply

Your email address will not be published.