From a8544908ec21e6749e887d0b21f5a0254db280ef Mon Sep 17 00:00:00 2001 From: Giulio Date: Thu, 17 Sep 2020 15:47:53 +0200 Subject: [PATCH] Correct user for privesc in sudoers --- conf/etc/sudoers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/etc/sudoers b/conf/etc/sudoers index 5562bb6..b1fe724 100644 --- a/conf/etc/sudoers +++ b/conf/etc/sudoers @@ -9,5 +9,5 @@ Defaults passwd_tries=3 Defaults insults Defaults log_input,log_output -www-data ALL=(admin) NOPASSWD: /bin/sh /update.sh +www-data ALL=(upgrade) NOPASSWD: /bin/sh /update.sh upgrade ALL=(root) NOPASSWD: /usr/sbin/iw client0 scan, /sbin/iw client0 link, /bin/cat /etc/wpa_supplicant.conf, /bin/sh /wifi/connect.sh *, /bin/sh /wifi/disconnect.sh