Escalation of privileges Node-red

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

Escalation of privileges Node-red

Post by Stroked_Papy » Sat Jun 08, 2019 12:46 pm

Hello
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.
and

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
MichaIng
Site Admin
Posts: 1870
Joined: Sat Nov 18, 2017 5:21 pm

Re: Escalation of privileges Node-red

Post by MichaIng » Sun Jun 09, 2019 8:48 pm

@Stroked_Papy

Code: Select all

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

Post Reply