From 09cdf5081c8f7a1f728c2932aea24b8d547fbcf7 Mon Sep 17 00:00:00 2001 From: Mcat12 Date: Sun, 17 Apr 2016 23:03:12 -0400 Subject: [PATCH] Install sudoer file --- automated install/basic-install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 139a7a4b..ca8f1aae 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -636,6 +636,11 @@ installPiholeWeb() { $SUDO cp /etc/.pihole/advanced/index.* /var/www/html/pihole/. $SUDO echo " done!" fi + # Install Sudoer file + echo -n "::: Installing sudoer file..." + $SUDO cp /etc/.pihole/advanced/pihole.sudo /etc/sudoers.d/pihole + $SUDO chmod 0440 /etc/sudoers.d/pihole + echo " done!" } installCron() {