Skip to content

Instantly share code, notes, and snippets.

@h3ct0rjs
Created September 12, 2016 03:30
Show Gist options
  • Save h3ct0rjs/cf4b03122612d476ca79058690466b92 to your computer and use it in GitHub Desktop.
Save h3ct0rjs/cf4b03122612d476ca79058690466b92 to your computer and use it in GitHub Desktop.
# /etc/sudoers
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for details on how to write a sudoers file.
# Defaults env_reset
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
# Allow members of group sudo to execute any command after they have
# provided their password
# (Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL
#
#includedir /etc/sudoers.d
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment