Skip to content

Instantly share code, notes, and snippets.

@T4cC0re
Created January 24, 2016 07:49
Show Gist options
  • Save T4cC0re/14f34dee4b6f4b6b4211 to your computer and use it in GitHub Desktop.
Save T4cC0re/14f34dee4b6f4b6b4211 to your computer and use it in GitHub Desktop.
add user to sudoers w/o passwd
echo "`whoami` ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/`whoami`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment