From c7141966475985a5675597428b8d136b6dd8268d Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Sun, 17 Apr 2016 22:46:06 -0400 Subject: [PATCH] Add Sudoer file for WebUI --- advanced/pihole.sudo | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 advanced/pihole.sudo diff --git a/advanced/pihole.sudo b/advanced/pihole.sudo new file mode 100755 index 00000000..ef06249a --- /dev/null +++ b/advanced/pihole.sudo @@ -0,0 +1,12 @@ +# Pi-hole: A black hole for Internet advertisements +# (c) 2015, 2016 by Jacob Salmela +# Network-wide ad blocking via your Raspberry Pi +# http://pi-hole.net +# Allows the WebUI to use Pi-hole commands +# +# Pi-hole is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. + +www-data ALL=NOPASSWD: /usr/local/bin/pihole