Page 1 of 1

Escalation of privileges Node-red

Posted: Sat Jun 08, 2019 1:46 pm
by Stroked_Papy
I use Dietpi and nodered. When a line exec executes with vcgencmd measure_temp (or sudo vcgencmd measure_temp) responds

Code: Select all

We hope you have received the traditional instructions from your local system administrator. Generally, they focus on these three elements:

     # 1) Respect the privacy of others.
     # 2) Think before using the keyboard.
     # 3) Great powers confer great responsibilities.

Code: Select all

sudo: no tty present and no specified askpass program
how to do, change /etc/group, visudo, ....

thank you so much

Re: Escalation of privileges Node-red

Posted: Sun Jun 09, 2019 9:48 pm
by MichaIng

Code: Select all

echo 'nodered ALL=NOPASSWD: ALL' > /etc/sudoers.d/nodered