Skip to content

Instantly share code, notes, and snippets.

@yzgyyang
Last active June 20, 2017 15:07
Show Gist options
  • Save yzgyyang/912274b4b6e9d9e0dd04e1306c4caed2 to your computer and use it in GitHub Desktop.
Save yzgyyang/912274b4b6e9d9e0dd04e1306c4caed2 to your computer and use it in GitHub Desktop.
Skip sudo password

Edit the sudoers file:

sudo visudo

Find this line:

%sudo ALL=(ALL) ALL

Change it to:

%sudo ALL=(ALL) NOPASSWD: ALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment