Skip to content

Instantly share code, notes, and snippets.

@tad124737337
Last active December 28, 2015 15:59
Show Gist options
  • Save tad124737337/7525942 to your computer and use it in GitHub Desktop.
Save tad124737337/7525942 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
rm /etc/sudoers.new
cp /etc/sudoers /etc/sudoers.new
echo "discourse ALL=(ALL:ALL) ALL" >> /etc/sudoers.new
cp /etc/sudoers.new /etc/sudoers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment