2020-05-22 18:34:46 +02:00
|
|
|
Defaults env_reset
|
2020-09-20 19:15:00 +02:00
|
|
|
Defaults env_keep = "key"
|
2020-05-22 18:34:46 +02:00
|
|
|
Defaults mail_badpass
|
|
|
|
Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
|
|
|
Defaults logfile="/var/log/sudo.log"
|
|
|
|
Defaults lecture="always"
|
|
|
|
Defaults badpass_message="Password is wrong, please try again"
|
|
|
|
Defaults passwd_tries=3
|
|
|
|
Defaults insults
|
|
|
|
Defaults log_input,log_output
|
|
|
|
|
2020-09-17 15:47:53 +02:00
|
|
|
www-data ALL=(upgrade) NOPASSWD: /bin/sh /update.sh
|
2020-09-18 12:59:02 +02:00
|
|
|
upgrade ALL=(root) NOPASSWD: /usr/sbin/iw client0 scan, /usr/sbin/iw client0 link, /bin/cat /etc/wpa_supplicant.conf, /bin/sh /wifi/connect.sh *, /bin/sh /wifi/disconnect.sh
|