Skip to content

Instantly share code, notes, and snippets.

@7castle
Created September 12, 2019 02:16
Show Gist options
  • Save 7castle/636716be9705e1bfb5e08cc698c42fc3 to your computer and use it in GitHub Desktop.
Save 7castle/636716be9705e1bfb5e08cc698c42fc3 to your computer and use it in GitHub Desktop.
sudo

Add user to wheel group usermod -aG wheel username

Add to sudoers groups:

## Uncomment to allow members of group wheel to execute any command
# %wheel ALL=(ALL) ALL

## Same thing without a password
%wheel ALL=(ALL) NOPASSWD: ALL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment