{"action":"created","issue":{"url":"https://api.github.com/repos/contiv/vagrantssh/issues/12","repository_url":"https://api.github.com/repos/contiv/vagrantssh","labels_url":"https://api.github.com/repos/contiv/vagrantssh/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/contiv/vagrantssh/issues/12/comments","events_url":"https://api.github.com/repos/contiv/vagrantssh/issues/12/events","html_url":"https://github.com/contiv/vagrantssh/issues/12","id":155871156,"number":12,"title":"on Baremetal sudo does not work","user":{"login":"gaurav-dalvi","id":2373663,"avatar_url":"https://avatars.githubusercontent.com/u/2373663?v=3","gravatar_id":"","url":"https://api.github.com/users/gaurav-dalvi","html_url":"https://github.com/gaurav-dalvi","followers_url":"https://api.github.com/users/gaurav-dalvi/followers","following_url":"https://api.github.com/users/gaurav-dalvi/following{/other_user}","gists_url":"https://api.github.com/users/gaurav-dalvi/gists{/gist_id}","starred_url":"https://api.github.com/users/gaurav-dalvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaurav-dalvi/subscriptions","organizations_url":"https://api.github.com/users/gaurav-dalvi/orgs","repos_url":"https://api.github.com/users/gaurav-dalvi/repos","events_url":"https://api.github.com/users/gaurav-dalvi/events{/privacy}","received_events_url":"https://api.github.com/users/gaurav-dalvi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-05-20T01:45:14Z","updated_at":"2016-05-24T06:04:38Z","closed_at":null,"body":"I had to this in order to work with sudo.\r\n\r\nhttps://www.shell-tips.com/2014/09/08/sudo-sorry-you-must-have-a-tty-to-run-sudo/\r\n\r\nnode.RunCommandWithOutput(\"sudo pkill netmaster\")\r\nThis does not give any error. But unless you do what is mentioned in the above link, You wont able to perform any command with sudo.\r\n"},"comment":{"url":"https://api.github.com/repos/contiv/vagrantssh/issues/comments/221174747","html_url":"https://github.com/contiv/vagrantssh/issues/12#issuecomment-221174747","issue_url":"https://api.github.com/repos/contiv/vagrantssh/issues/12","id":221174747,"user":{"login":"erikh","id":18923,"avatar_url":"https://avatars.githubusercontent.com/u/18923?v=3","gravatar_id":"","url":"https://api.github.com/users/erikh","html_url":"https://github.com/erikh","followers_url":"https://api.github.com/users/erikh/followers","following_url":"https://api.github.com/users/erikh/following{/other_user}","gists_url":"https://api.github.com/users/erikh/gists{/gist_id}","starred_url":"https://api.github.com/users/erikh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikh/subscriptions","organizations_url":"https://api.github.com/users/erikh/orgs","repos_url":"https://api.github.com/users/erikh/repos","events_url":"https://api.github.com/users/erikh/events{/privacy}","received_events_url":"https://api.github.com/users/erikh/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T06:04:38Z","updated_at":"2016-05-24T06:04:38Z","body":"I haven't gotten to it quite yet. We need to request the TTY. There's a \ncall for this: \nhttps://godoc.org/golang.org/x/crypto/ssh#Session.RequestPty\n\nIf you wish to implement it go for it! Let me or madhav know if you run \ninto trouble.\n\n-Erik\n\nOn 23 May 2016, at 17:29, Gaurav Dalvi wrote:\n\n> @erikh : Could you please give me the patch you are talking about ?\n>\n> Correct me If I am wrong :\n>\n> I need to add ssh -t option somewhere in vagrantssh library code. If \n> thats true then I will spend some time to get this done.\n>\n> ---\n> You are receiving this because you were mentioned.\n> Reply to this email directly or view it on GitHub:\n> https://github.com/contiv/vagrantssh/issues/12#issuecomment-221134828\n"}}
{"actor":{"display_login":"erikh"}}