Skip to content

Instantly share code, notes, and snippets.

@scodx
Created October 2, 2017 02:52
Show Gist options
  • Save scodx/3008dba3b400e33655e36b7b6fba70a5 to your computer and use it in GitHub Desktop.
Save scodx/3008dba3b400e33655e36b7b6fba70a5 to your computer and use it in GitHub Desktop.
# ERROR: sudo: no tty present and no askpass program specified
sudo visudo
# or edit #includedir /etc/sudoers.d
username ALL = NOPASSWD: /fullpath/to/command, /fullpath/to/othercommand
# All applications:
# username ALL=(ALL) NOPASSWD: ALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment