iOS Dev Nugget 267 Touch ID with sudo


Need to run a code review on your codebase? Hire me

Picked up this tip from @cabel related to sudo:

If you have a Macbook Pro with Touch ID (i.e. Touch Bar) support, you can enable Touch ID for sudo by adding this line as the 1st line after auth sufficient in the file /etc/pam.d/sudo:

auth sufficient

If Touch ID prompt doesn't appear until you keyed in the wrong password, chances are you added the line correctly, but not at the top.

Your feedback is valuable: Do you want more nuggets like this?   Yes   or   No



Like this and want such iOS dev nuggets to be emailed to you, weekly?

Sign Me Up! or follow @iosdevnuggets on Twitter


View archives of past issues