[SOLVED] Escalation of privileges Node-red Erreur sudo vcgencmd measure_temp

Hello
When I use under ssh and node-red, a simple Flow using
sudo vcgencmd measure_temp

or

sudo python /home/pi/Natacha/WiFi_Signal_Strength.py

I have an error
TypeError: Can not read property ‘toFixed (1)’ of undefined :cry:


Why
thank you

Hello
I am with DIETPI
I think the problem is with I think the problem is related to the escalation of privileges :cry: . In visudo I put this

User privilege specification

root ALL = (ALL: ALL) ALL
pi ALL = (ALL) NOPASSWD: ALL
admin ALL = (ALL) NOPASSWD: ALL
www-data ALL = (ALL) NOPASSWD: ALL

or

root ALL = (ALL: ALL) ALL
pi ALL = (ALL: ALL) ALL
admin ALL = (ALL: ALL) ALL
www-data ALL = (ALL: ALL) ALL

Thanks for your help :smiley:

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

The hint is already in our online docs: https://dietpi.com/forum/t/resolved-removing-diversion-of-boot-overlays-readme-err/74/1
I am thinking to enable this by default: https://github.com/MichaIng/DietPi/issues/2910