Skip to content

Instantly share code, notes, and snippets.

@dky
Created May 8, 2013 19:12
Show Gist options
  • Save dky/5542837 to your computer and use it in GitHub Desktop.
Save dky/5542837 to your computer and use it in GitHub Desktop.
Append to vagrant all no password after root in sudoers
sed -i.backup "/root\s*ALL=(ALL)/ a\vagrant ALL=NOPASSWD:ALL" /etc/sudoers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment