Skip to content

Instantly share code, notes, and snippets.

@crowjdh
Created June 26, 2021 05:40
Show Gist options
  • Save crowjdh/77bdbb32530a2947bb51d26b0dd0d420 to your computer and use it in GitHub Desktop.
Save crowjdh/77bdbb32530a2947bb51d26b0dd0d420 to your computer and use it in GitHub Desktop.
  • VIM into /etc/pam.d/sudo
$ cd /etc/pam.d
$ sudo chmod 0644 ./sudo
$ sudo vim ./sudo
  • Add below
auth sufficient pam_tid.so
  • Revert permission
$ sudo chmod 0444 ./sudo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment