cyberchallenge-modem/conf/etc/sudoers

14 lines
577 B
Plaintext
Raw Normal View History

2020-05-22 18:34:46 +02:00
Defaults env_reset
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
www-data ALL=(admin) NOPASSWD: /bin/sh /update.sh
upgrade ALL=(root) NOPASSWD: /usr/sbin/iw wlan0 scan, /sbin/iw wlan0 link, /bin/cat /etc/wpa_supplicant.conf, /bin/sh /wifi/connect.sh *, /bin/sh /wifi/disconnect.sh