Skip to content

Instantly share code, notes, and snippets.

@zipizap
Created October 11, 2013 14:51
Show Gist options
  • Save zipizap/6936024 to your computer and use it in GitHub Desktop.
Save zipizap/6936024 to your computer and use it in GitHub Desktop.
$ sudo visudo
#add the following to the end of the file:
#allow user "zipizap" to use "sudo /usr/bin/aptitude" without asking for password
zipizap ALL = NOPASSWD: /usr/bin/aptitude
#save and close the edited file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment