{"action":"created","issue":{"url":"https://api.github.com/repos/rundeck-plugins/rundeck-ec2-nodes-plugin/issues/53","repository_url":"https://api.github.com/repos/rundeck-plugins/rundeck-ec2-nodes-plugin","labels_url":"https://api.github.com/repos/rundeck-plugins/rundeck-ec2-nodes-plugin/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/rundeck-plugins/rundeck-ec2-nodes-plugin/issues/53/comments","events_url":"https://api.github.com/repos/rundeck-plugins/rundeck-ec2-nodes-plugin/issues/53/events","html_url":"https://github.com/rundeck-plugins/rundeck-ec2-nodes-plugin/issues/53","id":172649561,"number":53,"title":"Run command with sudo without disabling requiretty","user":{"login":"amitdaniel86","id":10631005,"avatar_url":"https://avatars.githubusercontent.com/u/10631005?v=3","gravatar_id":"","url":"https://api.github.com/users/amitdaniel86","html_url":"https://github.com/amitdaniel86","followers_url":"https://api.github.com/users/amitdaniel86/followers","following_url":"https://api.github.com/users/amitdaniel86/following{/other_user}","gists_url":"https://api.github.com/users/amitdaniel86/gists{/gist_id}","starred_url":"https://api.github.com/users/amitdaniel86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitdaniel86/subscriptions","organizations_url":"https://api.github.com/users/amitdaniel86/orgs","repos_url":"https://api.github.com/users/amitdaniel86/repos","events_url":"https://api.github.com/users/amitdaniel86/events{/privacy}","received_events_url":"https://api.github.com/users/amitdaniel86/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-23T09:15:59Z","updated_at":"2016-12-16T18:58:37Z","closed_at":null,"body":"Hi , \n\nI'm using the rundeck-ec2-nodes-plugin and i need to run command with sudo .\n\nwhen I'm running them as sudo I'm getting the next error : \n\n`sudo: sorry, you must have a tty to run sudo`\n\ni don't want to comment : `Defaults    requiretty` from sudoers file .\nAlso i didn't fine if i can add \"sudo authentication\" for ec2 plugin .\n\nThanks for your help\nAmit\n"},"comment":{"url":"https://api.github.com/repos/rundeck-plugins/rundeck-ec2-nodes-plugin/issues/comments/267669472","html_url":"https://github.com/rundeck-plugins/rundeck-ec2-nodes-plugin/issues/53#issuecomment-267669472","issue_url":"https://api.github.com/repos/rundeck-plugins/rundeck-ec2-nodes-plugin/issues/53","id":267669472,"user":{"login":"dvg06","id":24405951,"avatar_url":"https://avatars.githubusercontent.com/u/24405951?v=3","gravatar_id":"","url":"https://api.github.com/users/dvg06","html_url":"https://github.com/dvg06","followers_url":"https://api.github.com/users/dvg06/followers","following_url":"https://api.github.com/users/dvg06/following{/other_user}","gists_url":"https://api.github.com/users/dvg06/gists{/gist_id}","starred_url":"https://api.github.com/users/dvg06/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvg06/subscriptions","organizations_url":"https://api.github.com/users/dvg06/orgs","repos_url":"https://api.github.com/users/dvg06/repos","events_url":"https://api.github.com/users/dvg06/events{/privacy}","received_events_url":"https://api.github.com/users/dvg06/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T18:58:37Z","updated_at":"2016-12-16T18:58:37Z","body":"@gschueler apologies , newbie here. \r\nI am trying to use ec2 plugin since I wanted to run commands as splunk user in many instances. I do no have the password, but ec2-user has sudo su access. \r\n\r\nfield mapping:\r\nnodename.selector=instanceId;privateIpAddress.selector=privateIpAddress;hostname.selector=privateIpAddress,privateDnsName,publicDnsName;username.default=centos; sudo-command-enabled.default=true"}}
{"actor":{"display_login":"dvg06"}}