Installation-visudo

This revision is from 2016/08/10 01:46. You can Restore it.

enter

visudo

and paste

# RaspberryPi
www-data ALL = NOPASSWD: /sbin/shutdown
www-data ALL = NOPASSWD: /sbin/ifconfig
www-data ALL = NOPASSWD: /etc/init.d/ser2net
www-data ALL = NOPASSWD: /etc/init.d/n2n
www-data ALL = NOPASSWD: /usr/sbin/i2cdetect
www-data ALL = NOPASSWD: /usr/sbin/i2cget
www-data ALL = NOPASSWD: /usr/bin/rsync
www-data ALL = NOPASSWD: /home/pi/remoteqth/script/update.sh
www-data ALL = NOPASSWD: /etc/init.d/node_red
www-data ALL = NOPASSWD: /etc/init.d/mosquitto
www-data ALL = NOPASSWD: /bin/systemctl

# alix1d
www-data ALL = NOPASSWD: /usr/local/bin/ledblink
www-data ALL = NOPASSWD: /usr/local/bin/fcdctl
www-data ALL = NOPASSWD: /usr/local/sbin/remountrw
www-data ALL = NOPASSWD: /usr/local/sbin/remountro