{"action":"created","issue":{"url":"https://api.github.com/repos/Scribery/tlog/issues/16","repository_url":"https://api.github.com/repos/Scribery/tlog","labels_url":"https://api.github.com/repos/Scribery/tlog/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/Scribery/tlog/issues/16/comments","events_url":"https://api.github.com/repos/Scribery/tlog/issues/16/events","html_url":"https://github.com/Scribery/tlog/issues/16","id":136675304,"number":16,"title":"Implement passing the shell name to tlog-rec via argv[0]","user":{"login":"spbnick","id":549246,"avatar_url":"https://avatars.githubusercontent.com/u/549246?v=3","gravatar_id":"","url":"https://api.github.com/users/spbnick","html_url":"https://github.com/spbnick","followers_url":"https://api.github.com/users/spbnick/followers","following_url":"https://api.github.com/users/spbnick/following{/other_user}","gists_url":"https://api.github.com/users/spbnick/gists{/gist_id}","starred_url":"https://api.github.com/users/spbnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spbnick/subscriptions","organizations_url":"https://api.github.com/users/spbnick/orgs","repos_url":"https://api.github.com/users/spbnick/repos","events_url":"https://api.github.com/users/spbnick/events{/privacy}","received_events_url":"https://api.github.com/users/spbnick/received_events","type":"User","site_admin":false},"labels":[{"id":332449276,"url":"https://api.github.com/repos/Scribery/tlog/labels/easy","name":"easy","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Scribery/tlog/milestones/2","html_url":"https://github.com/Scribery/tlog/milestone/2","labels_url":"https://api.github.com/repos/Scribery/tlog/milestones/2/labels","id":1607912,"number":2,"title":"Tech Preview","description":"All features and integration required for the Tech Preview are complete, including:\r\n\r\n* Tlog-rec is controllable by SSSD, at least with local configuration, at best with minimal central configuration.\r\n* Tlog-rec privilege separation is implemented.\r\n* Tlog-rec can record non-terminal I/O.\r\n* Tlog-rec detects non-UTF-8 terminal charsets and aborts.\r\n* Tlog-rec prevents duplicate session recordings.\r\n* Tlog-rec can record to syslog and tlog-play can play back from ElasticSearch.\r\n* Tlog-rec can record to a file and tlog-play can play it back.","creator":{"login":"spbnick","id":549246,"avatar_url":"https://avatars.githubusercontent.com/u/549246?v=3","gravatar_id":"","url":"https://api.github.com/users/spbnick","html_url":"https://github.com/spbnick","followers_url":"https://api.github.com/users/spbnick/followers","following_url":"https://api.github.com/users/spbnick/following{/other_user}","gists_url":"https://api.github.com/users/spbnick/gists{/gist_id}","starred_url":"https://api.github.com/users/spbnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spbnick/subscriptions","organizations_url":"https://api.github.com/users/spbnick/orgs","repos_url":"https://api.github.com/users/spbnick/repos","events_url":"https://api.github.com/users/spbnick/events{/privacy}","received_events_url":"https://api.github.com/users/spbnick/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":10,"state":"open","created_at":"2016-02-26T11:29:30Z","updated_at":"2016-10-07T15:53:37Z","due_on":"2016-06-30T21:00:00Z","closed_at":null},"comments":2,"created_at":"2016-02-26T11:46:27Z","updated_at":"2016-12-12T14:49:27Z","closed_at":null,"body":"The simplest way to specify the shell to tlog-rec might be specifying a special shell for the user - one for each possible invoked shell. Such shell might start with \"tlog-rec-shell-\" and end with the shell name. E.g. \"tlog-rec-shell-bash\". The actual executable would be just a symlink to tlog-rec and tlog-rec would extract the shell to be invoked from argv[0]. This would make standalone setups easier to implement and wouldn't require using pam_env or pam_sss to pass the shell to tlog-rec via environment variables.\n"},"comment":{"url":"https://api.github.com/repos/Scribery/tlog/issues/comments/266449400","html_url":"https://github.com/Scribery/tlog/issues/16#issuecomment-266449400","issue_url":"https://api.github.com/repos/Scribery/tlog/issues/16","id":266449400,"user":{"login":"spbnick","id":549246,"avatar_url":"https://avatars.githubusercontent.com/u/549246?v=3","gravatar_id":"","url":"https://api.github.com/users/spbnick","html_url":"https://github.com/spbnick","followers_url":"https://api.github.com/users/spbnick/followers","following_url":"https://api.github.com/users/spbnick/following{/other_user}","gists_url":"https://api.github.com/users/spbnick/gists{/gist_id}","starred_url":"https://api.github.com/users/spbnick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spbnick/subscriptions","organizations_url":"https://api.github.com/users/spbnick/orgs","repos_url":"https://api.github.com/users/spbnick/repos","events_url":"https://api.github.com/users/spbnick/events{/privacy}","received_events_url":"https://api.github.com/users/spbnick/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T14:49:27Z","updated_at":"2016-12-12T14:49:27Z","body":"I thought about this for a while, and I think it is better to encode the full shell path in the symlink. For most cases the path will be short and obvious. We will have to provide a way to encode actual dashes, but it will still be more straight-forward and obvious than relying on PATH, which needs to be specified elsewhere.\r\n\r\nTo implement dash encoding we can use basic backslash escaping rule: any character following a backslash would be interpreted literally, with backslash dropped, while a dash without a preceding backslash would be interpreted as a forward slash."}}
{"actor":{"display_login":"spbnick"}}