{"action":"created","issue":{"url":"https://api.github.com/repos/xonsh/xonsh/issues/1525","repository_url":"https://api.github.com/repos/xonsh/xonsh","labels_url":"https://api.github.com/repos/xonsh/xonsh/issues/1525/labels{/name}","comments_url":"https://api.github.com/repos/xonsh/xonsh/issues/1525/comments","events_url":"https://api.github.com/repos/xonsh/xonsh/issues/1525/events","html_url":"https://github.com/xonsh/xonsh/issues/1525","id":169051410,"number":1525,"title":"Suggestion: Add fallback shell","user":{"login":"derphilipp","id":429154,"avatar_url":"https://avatars.githubusercontent.com/u/429154?v=3","gravatar_id":"","url":"https://api.github.com/users/derphilipp","html_url":"https://github.com/derphilipp","followers_url":"https://api.github.com/users/derphilipp/followers","following_url":"https://api.github.com/users/derphilipp/following{/other_user}","gists_url":"https://api.github.com/users/derphilipp/gists{/gist_id}","starred_url":"https://api.github.com/users/derphilipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derphilipp/subscriptions","organizations_url":"https://api.github.com/users/derphilipp/orgs","repos_url":"https://api.github.com/users/derphilipp/repos","events_url":"https://api.github.com/users/derphilipp/events{/privacy}","received_events_url":"https://api.github.com/users/derphilipp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xonsh/xonsh/labels/feature","name":"feature","color":"009800"},{"url":"https://api.github.com/repos/xonsh/xonsh/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/xonsh/xonsh/milestones/5","html_url":"https://github.com/xonsh/xonsh/milestones/v0.5","labels_url":"https://api.github.com/repos/xonsh/xonsh/milestones/5/labels","id":1848323,"number":5,"title":"v0.5","description":"","creator":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"open_issues":42,"closed_issues":98,"state":"open","created_at":"2016-06-25T15:59:08Z","updated_at":"2016-08-03T16:24:08Z","due_on":"2016-08-03T04:00:00Z","closed_at":null},"comments":3,"created_at":"2016-08-03T05:32:50Z","updated_at":"2016-08-03T17:10:14Z","closed_at":null,"body":"As xonsh fails if a configuration error exists, it would be nice to define a fallback shell that would be used if xonsh crashes / can not start.\r\n\r\nThis could lead to more adopters being able to set xonsh as their default shell."},"comment":{"url":"https://api.github.com/repos/xonsh/xonsh/issues/comments/237301721","html_url":"https://github.com/xonsh/xonsh/issues/1525#issuecomment-237301721","issue_url":"https://api.github.com/repos/xonsh/xonsh/issues/1525","id":237301721,"user":{"login":"PaulReiber","id":58688,"avatar_url":"https://avatars.githubusercontent.com/u/58688?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulReiber","html_url":"https://github.com/PaulReiber","followers_url":"https://api.github.com/users/PaulReiber/followers","following_url":"https://api.github.com/users/PaulReiber/following{/other_user}","gists_url":"https://api.github.com/users/PaulReiber/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulReiber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulReiber/subscriptions","organizations_url":"https://api.github.com/users/PaulReiber/orgs","repos_url":"https://api.github.com/users/PaulReiber/repos","events_url":"https://api.github.com/users/PaulReiber/events{/privacy}","received_events_url":"https://api.github.com/users/PaulReiber/received_events","type":"User","site_admin":false},"created_at":"2016-08-03T17:10:13Z","updated_at":"2016-08-03T17:10:13Z","body":"Logistically, one can't guarantee a fallback would even work - the fallback\nshell could easily be affected by the same problem Xonsh faced.\n\nScope/responsibility wise, the OS defines the users shell - it's there, not\nwithin Xonsh, that one might introduce a fallback feature/capability.\nInteresting idea, but it'd be down to init/login/getty to do the right\nthings when a user shell gets hung - not the user shell itself.\n\nIt's easy enough to ensure a user can login via another shell.\n\nA Xonsh user can have multiple entries in /etc/passwd to ensure they can\nalways login with another shell:\n\npbr:x:1000:1000:Reiber Labs,,,:/home/pbr:/usr/local/bin/xonsh\npbrbash:x:1000:1000:Reiber Labs,,,:/home/pbr:/bin/bash\n\nNote the UID and home directory are the same - these are effectively the\nsame user, just logging in using different shells.\n\nKind regards,\n\n\n*Paul Reiber*http://about.me/reiber\n\nOn Wed, Aug 3, 2016 at 1:19 AM, Anthony Scopatz <notifications@github.com>\nwrote:\n\n> I am definitely in favor of this idea. It just needs an implementation.\n> PRs welcome!\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/xonsh/xonsh/issues/1525#issuecomment-237173819>, or mute\n> the thread\n> <https://github.com/notifications/unsubscribe-auth/AADlQLSe5rQjjfrXbkaOaLJqiAN3EAxFks5qcE8LgaJpZM4JbUWD>\n> .\n>\n"}}
{"actor":{"display_login":"PaulReiber"}}