{"action":"created","issue":{"url":"https://api.github.com/repos/chef/inspec/issues/936","repository_url":"https://api.github.com/repos/chef/inspec","labels_url":"https://api.github.com/repos/chef/inspec/issues/936/labels{/name}","comments_url":"https://api.github.com/repos/chef/inspec/issues/936/comments","events_url":"https://api.github.com/repos/chef/inspec/issues/936/events","html_url":"https://github.com/chef/inspec/issues/936","id":171910427,"number":936,"title":"Inspec exec tests fail if using a one time sudo password(Example: RSA Token)","user":{"login":"daxgames","id":7318053,"avatar_url":"https://avatars.githubusercontent.com/u/7318053?v=3","gravatar_id":"","url":"https://api.github.com/users/daxgames","html_url":"https://github.com/daxgames","followers_url":"https://api.github.com/users/daxgames/followers","following_url":"https://api.github.com/users/daxgames/following{/other_user}","gists_url":"https://api.github.com/users/daxgames/gists{/gist_id}","starred_url":"https://api.github.com/users/daxgames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daxgames/subscriptions","organizations_url":"https://api.github.com/users/daxgames/orgs","repos_url":"https://api.github.com/users/daxgames/repos","events_url":"https://api.github.com/users/daxgames/events{/privacy}","received_events_url":"https://api.github.com/users/daxgames/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-18T14:09:53Z","updated_at":"2016-09-21T13:42:30Z","closed_at":null,"body":"### Description\r\n\r\nInspec tests run but most fail when using a one time sudo password on the command line.  Manually logging into the server and executing sudo after an inspec run indicates the token is in next token mode.\r\n\r\n### InSpec and Platform Version\r\n\r\nInspec version: 0.22.0\r\nClient: MacOS 10.10.5 \r\nTarget: RHEL 6.7\r\n\r\n### Replication Case\r\n\r\ninspec exec --format=documentation test/integration/default/inspec --target=ssh://user@target.host.com --password [user_password] --sudo --sudo-password=[one_time_password]\r\n\r\n### Stacktrace\r\n\r\nNone:  Tests actually run but most fail.  I can run the same test suite against a Vagrant box with passwordless sudo and it works perfectly.\r\n"},"comment":{"url":"https://api.github.com/repos/chef/inspec/issues/comments/248616026","html_url":"https://github.com/chef/inspec/issues/936#issuecomment-248616026","issue_url":"https://api.github.com/repos/chef/inspec/issues/936","id":248616026,"user":{"login":"daxgames","id":7318053,"avatar_url":"https://avatars.githubusercontent.com/u/7318053?v=3","gravatar_id":"","url":"https://api.github.com/users/daxgames","html_url":"https://github.com/daxgames","followers_url":"https://api.github.com/users/daxgames/followers","following_url":"https://api.github.com/users/daxgames/following{/other_user}","gists_url":"https://api.github.com/users/daxgames/gists{/gist_id}","starred_url":"https://api.github.com/users/daxgames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daxgames/subscriptions","organizations_url":"https://api.github.com/users/daxgames/orgs","repos_url":"https://api.github.com/users/daxgames/repos","events_url":"https://api.github.com/users/daxgames/events{/privacy}","received_events_url":"https://api.github.com/users/daxgames/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T13:42:30Z","updated_at":"2016-09-21T13:42:30Z","body":"How I use what?  Sudo?  I type 'sudo [command]' and it prompts me for rsa tokencode."}}
{"actor":{"display_login":"daxgames"}}