Escalation of privileges Node-red

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Posts: 10
Joined: Wed Mar 27, 2019 11:14 am

Escalation of privileges Node-red

Post 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
j'ai eu un AVC ! je ne écris pas bien :) !!

had a stroke! I do not write well :) !!
User avatar
Site Admin
Posts: 3231
Joined: Sat Nov 18, 2017 6:21 pm

Re: Escalation of privileges Node-red

Post by MichaIng »


Code: Select all

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