-
-
Save tomterragni/d586eeddae847cdebef10d781ff1a440 to your computer and use it in GitHub Desktop.
Revisions
-
tomterragni created this gist
Jun 3, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ # This is the PAM sudo config file: /etc/pam.d/sudo # sudo: auth account password session ############################################### # add the following line to enable Touch ID authentication in e.g. unix scripts which use sudo, # as described in https://dev.to/equiman/how-to-use-macos-s-touch-id-on-terminal-5fhg auth sufficient pam_tid.so ############################################### auth sufficient pam_smartcard.so auth required pam_opendirectory.so account required pam_permit.so password required pam_deny.so session required pam_permit.so