Skip to content

Instantly share code, notes, and snippets.

@ulinkwo
Created August 4, 2009 06:36
Show Gist options
  • Save ulinkwo/161060 to your computer and use it in GitHub Desktop.
Save ulinkwo/161060 to your computer and use it in GitHub Desktop.
#/bin/sh
# Here is how to tell sudo not to ask for password...
visudo
# Or if you are an expert, then directly edit the file /etc/sudoers
vi /etc/sudoers
# Add this line to the end of the file (this should be the LAST line!!!)...
username ALL=(ALL) NOPASSWD: ALL
# where username is your Ubuntu username.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment