Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Touch ID for sudo command

Touch ID for sudo terminal command

To use Touch ID in lieu of the admin password for sudo terminal command, edit /etc/pam.d/sudo file, add the following as the first uncommented line, and save.

auth    sufficient

It appears this setting is not carried-forward post a MacOS version upgrade. Edit, and add it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment