Skip to content

Instantly share code, notes, and snippets.

@mmalmeida
Created July 15, 2016 12:09
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 mmalmeida/f60ab56e2c07246a603fc8232e79ede5 to your computer and use it in GitHub Desktop.
Save mmalmeida/f60ab56e2c07246a603fc8232e79ede5 to your computer and use it in GitHub Desktop.
sudoers file
# /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
Defaults logfile=/var/log/sudo.log
# Host alias specification
# User alias specification
# Cmnd alias specification
# User privilege specification
root ALL=(ALL) ALL
# Uncomment to allow members of group sudo to not need a password
# (Note that later entries override this, so you might need to move
# it further down)
# %sudo ALL=NOPASSWD: ALL
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL
Defaults:%svn !requiretty
# ITC: members of svn group may run trac-admin without password
%svn ALL=(www-data) NOPASSWD: /usr/local/bin/trac-admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment