{"action":"opened","issue":{"url":"https://api.github.com/repos/node-red/node-red/issues/568","labels_url":"https://api.github.com/repos/node-red/node-red/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/node-red/node-red/issues/568/comments","events_url":"https://api.github.com/repos/node-red/node-red/issues/568/events","html_url":"https://github.com/node-red/node-red/issues/568","id":57818798,"number":568,"title":"GPIO + Raspberry Pi + Service + Sudo","user":{"login":"Belphemur","id":197810,"avatar_url":"https://avatars.githubusercontent.com/u/197810?v=3","gravatar_id":"","url":"https://api.github.com/users/Belphemur","html_url":"https://github.com/Belphemur","followers_url":"https://api.github.com/users/Belphemur/followers","following_url":"https://api.github.com/users/Belphemur/following{/other_user}","gists_url":"https://api.github.com/users/Belphemur/gists{/gist_id}","starred_url":"https://api.github.com/users/Belphemur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Belphemur/subscriptions","organizations_url":"https://api.github.com/users/Belphemur/orgs","repos_url":"https://api.github.com/users/Belphemur/repos","events_url":"https://api.github.com/users/Belphemur/events{/privacy}","received_events_url":"https://api.github.com/users/Belphemur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-16T15:40:58Z","updated_at":"2015-02-16T15:40:58Z","closed_at":null,"body":"It seems Node-RED is trying to execute at load the nrgpio.py with root right using sudo.\r\nThe user that launch my Node-RED service is not in the sudoers and I don't plan to add it to it.\r\n\r\nThis is the error I'm getting:\r\n\r\n```\r\nFeb 16 17:34:18 raspy sudo[27872]: node-red : user NOT in sudoers ; TTY=unknown ; PWD=/home/pi/node-red-git ; USER=root ; COMMAND=/usr/bin/python -u /home/pi/node-red-git/nodes/core/hardware/nrgpio.py rev 0\r\n```\r\n\r\n"}}