Escalation of privileges Node-red

Hello
I use Dietpi and nodered. When a line exec executes with vcgencmd measure_temp (or sudo vcgencmd measure_temp) responds

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

sudo: no tty present and no specified askpass program

how to do, change /etc/group, visudo, …

thank you so much

Stroked_Papy

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