Correct user for privesc in sudoers

This commit is contained in:
Giulio 2020-09-17 15:47:53 +02:00
parent 2b63fbd754
commit a8544908ec

View File

@ -9,5 +9,5 @@ Defaults passwd_tries=3
Defaults insults Defaults insults
Defaults log_input,log_output 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 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