Installation-visudo

This revision is from 2016/08/04 05:01. 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

# 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