Skip to content

Instantly share code, notes, and snippets.

@pbredenberg
Created August 25, 2015 18:48
Show Gist options
  • Save pbredenberg/f096acb85917b24132ac to your computer and use it in GitHub Desktop.
Save pbredenberg/f096acb85917b24132ac to your computer and use it in GitHub Desktop.
#
# Sample /etc/sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the sudoers man page for the details on how to write a sudoers file.
##
# Override built-in defaults
##
Defaults syslog=auth
Defaults>root !set_logname
##
# User alias specification
##
User_Alias PASSWORDLESS = vagrant
# root and users in group wheel can run anything on any machine as any user
root ALL = (ALL) ALL
%wheel ALL = (ALL) ALL
# full time sysadmins can run anything on any machine without a password
PASSWORDLESS ALL = NOPASSWD: ALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment