# /etc/sudoers.d/avreg
#
# This file MUST be edited with the
# 'visudo -f /etc/sudoers.d/avreg' command as root.
#
# See the man page for details on how to write a sudoers file.
#

# Host alias specification
# !!! YOUR MUST REMOVE UNSECURE NET
Host_Alias	AVREG_ADMIN_HOSTS = localhost, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8

# User alias specification
User_Alias	AVREG_ADMIN_USERS = %www-data

# Cmnd alias specification
Cmnd_Alias	AVREG_ADMIN_CMD = /usr/sbin/avreg-service, /usr/bin/avreg-reportbug

# User privilege specification
AVREG_ADMIN_USERS	AVREG_ADMIN_HOSTS = NOPASSWD:SETENV: AVREG_ADMIN_CMD
