{"action":"created","issue":{"url":"https://api.github.com/repos/squash/sudosh2/issues/21","repository_url":"https://api.github.com/repos/squash/sudosh2","labels_url":"https://api.github.com/repos/squash/sudosh2/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/squash/sudosh2/issues/21/comments","events_url":"https://api.github.com/repos/squash/sudosh2/issues/21/events","html_url":"https://github.com/squash/sudosh2/issues/21","id":199500947,"number":21,"title":"Ansible compatibility","user":{"login":"xelgand","id":25001129,"avatar_url":"https://avatars2.githubusercontent.com/u/25001129?v=3","gravatar_id":"","url":"https://api.github.com/users/xelgand","html_url":"https://github.com/xelgand","followers_url":"https://api.github.com/users/xelgand/followers","following_url":"https://api.github.com/users/xelgand/following{/other_user}","gists_url":"https://api.github.com/users/xelgand/gists{/gist_id}","starred_url":"https://api.github.com/users/xelgand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xelgand/subscriptions","organizations_url":"https://api.github.com/users/xelgand/orgs","repos_url":"https://api.github.com/users/xelgand/repos","events_url":"https://api.github.com/users/xelgand/events{/privacy}","received_events_url":"https://api.github.com/users/xelgand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-09T08:44:04Z","updated_at":"2017-04-11T19:56:56Z","closed_at":null,"body":"Hello,\r\n\r\nI'm trying to use ansible to connect via ssh as a user with sudosh2 as its login shell.\r\n\r\nEven the most basic of commands doesn't work.\r\n`ansible <host> -m ping -vvvvvv -c paramiko --user <user>`\r\n\r\nIf I run the debug mode, ansible is trying to execute this command:\r\n\r\n> /bin/sh -c '( umask 77 && mkdir -p \"` echo $HOME/.ansible/tmp/ansible-tmp-1483951121.44-13816150599912 `\" && echo ansible-tmp-1483951121.44-13816150599912=\"` echo $HOME/.ansible/tmp/ansible-tmp-1483951121.44-13816150599912 `\" ) && sleep 0'\r\n\r\nAs you can guess, the name of the folder it needs to create is unique for every connection, so it's not possible to include the corresponding \"-c arg allow\" entry in sudosh.conf\r\n\r\nIs there any way to allow any command using \"-c arg allow\"?"},"comment":{"url":"https://api.github.com/repos/squash/sudosh2/issues/comments/293382163","html_url":"https://github.com/squash/sudosh2/issues/21#issuecomment-293382163","issue_url":"https://api.github.com/repos/squash/sudosh2/issues/21","id":293382163,"user":{"login":"roostercactus","id":22780470,"avatar_url":"https://avatars3.githubusercontent.com/u/22780470?v=3","gravatar_id":"","url":"https://api.github.com/users/roostercactus","html_url":"https://github.com/roostercactus","followers_url":"https://api.github.com/users/roostercactus/followers","following_url":"https://api.github.com/users/roostercactus/following{/other_user}","gists_url":"https://api.github.com/users/roostercactus/gists{/gist_id}","starred_url":"https://api.github.com/users/roostercactus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roostercactus/subscriptions","organizations_url":"https://api.github.com/users/roostercactus/orgs","repos_url":"https://api.github.com/users/roostercactus/repos","events_url":"https://api.github.com/users/roostercactus/events{/privacy}","received_events_url":"https://api.github.com/users/roostercactus/received_events","type":"User","site_admin":false},"created_at":"2017-04-11T19:56:56Z","updated_at":"2017-04-11T19:56:56Z","body":"Hi, with the latest sudosh2 code you can also just do this in the conf file without having to resort to editing the source and compiling.\r\n\r\n# What are users allowed to run without an interactive session\r\n-c arg allow = *"}}
{"actor":{"display_login":"roostercactus"}}