Skip to content

Instantly share code, notes, and snippets.

@tonoriesco
Created October 10, 2020 20:21
Show Gist options
  • Save tonoriesco/0fcc17e9ebc6f8da61350001bd1a84b2 to your computer and use it in GitHub Desktop.
Save tonoriesco/0fcc17e9ebc6f8da61350001bd1a84b2 to your computer and use it in GitHub Desktop.
No password when using sudo in MacOS
# sudo visudo
Add:
user ALL = NOPASSWD:ALL
Final result:
root ALL = (ALL) ALL
%admin ALL = (ALL) ALL
user ALL = NOPASSWD:ALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment