Apple Touch ID with sudo in macOS If you like to integrate Touch ID in sudo, you can do this easily in macOS and use the fingerprint. Integration in sudo Just edit the /private/etc/pam.d/sudo file and put a line inside. Put the following information inside: The file should look like: Testing To test the integration, just echo with sudo. sudo with Touch IDUpdate: If you are using iTerm2: Turn off Prefs > Advanced > Allow sessions to survive logging out and back in.
Apple fingerprint information clear If you want to return, repair or sell your Apple device. Then you should make sure that all data is deleted. This way the fingerprint information should also be deleted. Clear Touch Bar information To delete the fingerprint information, the Apple device must be set to Recorvery mode and open the Terminal. Restart Hold down Command-R Utilities -> Terminal You get the question if you are sure, you have to confirm this with “yes” and press Return.