Skip to content

Instantly share code, notes, and snippets.

@gurdiga
Created October 10, 2019 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gurdiga/2aebe9d8f30fcf4f34a59fa4eaf3b0df to your computer and use it in GitHub Desktop.
Save gurdiga/2aebe9d8f30fcf4f34a59fa4eaf3b0df to your computer and use it in GitHub Desktop.
`sudo` configuration to skip password for specific commands
vlad ALL = (ALL) NOPASSWD: /usr/bin/sntp
vlad ALL = (ALL) NOPASSWD: /usr/sbin/lsof
vlad ALL = (ALL) NOPASSWD: /usr/local/sbin/mtr
vlad ALL = (ALL) NOPASSWD: /sbin/ifconfig
vlad ALL = (ALL) NOPASSWD: /usr/local/bin/gdu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment