# Problem with Exec node Asus Tinker

**URL:** <https://discourse.nodered.org/t/problem-with-exec-node-asus-tinker/17341>\
**Category:** General\
**Created:** [30 October 2019 18:30 UTC](https://discourse.nodered.org/t/problem-with-exec-node-asus-tinker/17341 "2019-10-30T18:30:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![josemansilva22](https://avatars.discourse-cdn.com/v4/letter/j/ed8c4c/32.png) [@josemansilva22](https://discourse.nodered.org/u/josemansilva22)\
**Post date:** [30 October 2019 18:30 UTC](https://discourse.nodered.org/t/problem-with-exec-node-asus-tinker/17341/1 "2019-10-30T18:30:35Z")

</div>

Hi, im using node-red on a tinkerboard s and wen execute comands in exec node give me error 127 comand not fund, even wen try a sudo reboot give me like :

sudo: unable to set runas group vector: Operation not permitted  
sudo: unable to set runas group vector: Operation not permitted  
sudo: unable to open audit system: Operation not permitted  
root is not in the sudoers file. This incident will be reported.

Any ideas ?

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [30 October 2019 18:46 UTC](https://discourse.nodered.org/t/problem-with-exec-node-asus-tinker/17341/2 "2019-10-30T18:46:51Z")

</div>

If you read the error messages what do you think they are telling you?

---

<div class="post-metadata">

**Author:** ![josemansilva22](https://avatars.discourse-cdn.com/v4/letter/j/ed8c4c/32.png) [@josemansilva22](https://discourse.nodered.org/u/josemansilva22)\
**Post date:** [31 October 2019 09:11 UTC](https://discourse.nodered.org/t/problem-with-exec-node-asus-tinker/17341/3 "2019-10-31T09:11:33Z")

</div>

if i write the comand without sudo, the error message tell me the command "reboot" doesn't exist

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [31 October 2019 09:35 UTC](https://discourse.nodered.org/t/problem-with-exec-node-asus-tinker/17341/4 "2019-10-31T09:35:12Z")

</div>

> [@josemansilva22](#):
>
> root is not in the sudoers file

The user 'root' trying to run sudo is not allowed to run sudo. You wll need to figure out how to add 'root' to the sudoers file.

You might want to ask about this on the [tinkerboard forum](https://tinkerboarding.co.uk/forum/index.php)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [31 October 2019 13:40 UTC](https://discourse.nodered.org/t/problem-with-exec-node-asus-tinker/17341/5 "2019-10-31T13:40:13Z")

</div>

There is no point in root running the sudo command. The main problem is that it is not finding the reboot command. Have you tried `shutdown -r` instead?

---

<div class="post-metadata">

**Author:** ![josemansilva22](https://avatars.discourse-cdn.com/v4/letter/j/ed8c4c/32.png) [@josemansilva22](https://discourse.nodered.org/u/josemansilva22)\
**Post date:** [31 October 2019 13:41 UTC](https://discourse.nodered.org/t/problem-with-exec-node-asus-tinker/17341/6 "2019-10-31T13:41:59Z")

</div>

I give the reboot a example, Every command don't work. it's weird because I use node-red in a lot of Asus but this time give me this time.  
I will try Uninstall and install again

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [31 October 2019 14:33 UTC](https://discourse.nodered.org/t/problem-with-exec-node-asus-tinker/17341/7 "2019-10-31T14:33:11Z")

</div>

What if you provide the full path to the command? If that works then it is a PATH issue.
