[Cialug] followup from meeting

Tim Champion timchampion at gmail.com
Thu Jun 20 02:42:56 UTC 2019


This is mostly for Andrew and Jared who talked with me about a secure-ish
way to have the web server able to change the network config on the pi.

I think docker might be overkill for what I'm doing.  I think I'm going to
stick with another idea I had which was to grant sudoer to www-data for
only specific scripts

sudo visudo
www-data        ALL=(ALL) NOPASSWD: /root/hotspot.sh
www-data        ALL=(ALL) NOPASSWD: /root/normal.sh

Either way, it was nice to have some people to bounce ideas off of.

Tim Champion


More information about the Cialug mailing list