Node-RED sudo permissions

Hello community, I’m using the latest dietpi version.
I couldn’t execute system command with nodered :frowning: since it was worked with raspbian stretch
Eg: sudo shutdown now

I think it is since the nodered by default has no sudo permissions. You can add these via:

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

Thanx it helped

Great. I added this info to our online docs: https://dietpi.com/forum/t/dietpi-software-details-for-all-installation-options/22/83