Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- if [[ `grep tid /etc/pam.d/sudo` ]]
- then
- echo "TouchID already enabled"
- else
- sed -i '' '1 a\
- auth sufficient pam_tid.so\
- ' /etc/pam.d/sudo
- echo "Enabling TouchID for sudo";
- fi
Add Comment
Please, Sign In to add comment