Skip to content

Instantly share code, notes, and snippets.

@GLMeece
Last active December 28, 2021 18:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GLMeece/08a0b1da2d28437466a68e2e563089bc to your computer and use it in GitHub Desktop.
Save GLMeece/08a0b1da2d28437466a68e2e563089bc to your computer and use it in GitHub Desktop.
Use Fingerprint Reader on a MacBook to Validate SUDO

HOWTO Leverage the Fingerprint Reader on a MacBook to Validate SUDO

The following is derived from the article Use Touch ID for sudo on Mac:

Steps

  1. Open the sudo utility:
sudo nano /etc/pam.d/sudo

Note 1: I suppose it goes without saying that you'll need to provide your SUDO (Administrator) password for this step. If you're logged into a user account that doesn't have Admin privileges, you'll need to do that first.

Note 2: there will be a warning at the bottom of the edit screen: [ /etc/pam.d/sudo is meant to be read-only ]

  1. Add the following as the first line:
auth sufficient pam_tid.so
  1. There is no step 3! 😆
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment