From: Neszt Tibor Date: Thu, 7 Dec 2017 10:13:10 +0000 (+0100) Subject: www-data sudo config X-Git-Url: http://git.neszt.hu/?a=commitdiff_plain;h=e31fadf955a77782dc838f3ffde48043a5c78683;p=yawep.git www-data sudo config --- diff --git a/install.sh b/install.sh index dd7b8b5..1d6f724 100755 --- a/install.sh +++ b/install.sh @@ -16,4 +16,8 @@ touch config.json chmod 777 config.json cp background /usr/local/bin/ +groupadd wheel +echo "%wheel ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/yawep +adduser www-data wheel + echo "Check on web: http://"`dig +short myip.opendns.com @resolver1.opendns.com`"/yawep"