Skip to content

Instantly share code, notes, and snippets.

@williamjacksn
Last active July 15, 2022 12:47
Show Gist options
  • Save williamjacksn/7a7b930a14a945dff6829b8a6fdf147c to your computer and use it in GitHub Desktop.
Save williamjacksn/7a7b930a14a945dff6829b8a6fdf147c to your computer and use it in GitHub Desktop.
The correct `sudoers` syntax for using `sudo` without a password.
# /etc/sudoers.d/william
william ALL = NOPASSWD: ALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment