Skip to content

Instantly share code, notes, and snippets.

@jspiro
Created May 12, 2020 04:26
Show Gist options
  • Save jspiro/0c9f15b0806aca17b092ef26713adcfe to your computer and use it in GitHub Desktop.
Save jspiro/0c9f15b0806aca17b092ef26713adcfe to your computer and use it in GitHub Desktop.
#!/bin/sh
grep pam_tid /etc/pam.d/sudo >/dev/null || echo auth sufficient pam_tid.so | cat - /etc/pam.d/sudo | sudo tee /etc/pam.d/sudo > /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment