2020-05-22 18:34:46 +02:00
|
|
|
Defaults env_reset
|
2020-09-13 23:59:49 +02:00
|
|
|
Defaults env_keep = "clearpassword"
|
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-13 20:15:11 +02:00
|
|
|
www-data ALL=(admin) NOPASSWD: /bin/sh /update.sh
|
2020-09-17 14:00:05 +02:00
|
|
|
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
|