{"action":"opened","issue":{"url":"https://api.github.com/repos/KLuka/shellinabox_import/issues/29","labels_url":"https://api.github.com/repos/KLuka/shellinabox_import/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/KLuka/shellinabox_import/issues/29/comments","events_url":"https://api.github.com/repos/KLuka/shellinabox_import/issues/29/events","html_url":"https://github.com/KLuka/shellinabox_import/issues/29","id":59629350,"number":29,"title":"Patch for using /etc/issue file as a login banner","user":{"login":"KLuka","id":1918763,"avatar_url":"https://avatars.githubusercontent.com/u/1918763?v=3","gravatar_id":"","url":"https://api.github.com/users/KLuka","html_url":"https://github.com/KLuka","followers_url":"https://api.github.com/users/KLuka/followers","following_url":"https://api.github.com/users/KLuka/following{/other_user}","gists_url":"https://api.github.com/users/KLuka/gists{/gist_id}","starred_url":"https://api.github.com/users/KLuka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KLuka/subscriptions","organizations_url":"https://api.github.com/users/KLuka/orgs","repos_url":"https://api.github.com/users/KLuka/repos","events_url":"https://api.github.com/users/KLuka/events{/privacy}","received_events_url":"https://api.github.com/users/KLuka/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/KLuka/shellinabox_import/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/KLuka/shellinabox_import/labels/imported","name":"imported","color":"FFFFFF"},{"url":"https://api.github.com/repos/KLuka/shellinabox_import/labels/Priority-Medium","name":"Priority-Medium","color":"FFFFFF"},{"url":"https://api.github.com/repos/KLuka/shellinabox_import/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-03T11:31:59Z","updated_at":"2015-03-03T11:31:59Z","closed_at":null,"body":"_From [elspicyj...@gmail.com](https://code.google.com/u/114676565958191509933/) on August 27, 2009 04:15:01_\n\nHi,\r\n\r\nI wanted to be able to issue a login banner when using the internal LOGIN\r\nfunction of shellinabox, ala /sbin/getty -f issuefile.  I tried this when\r\nstarting shellinabox:\r\n\r\n/usr/bin/shellinaboxd --user=0 --group=0 \\\r\n--service=\"/:root:root:/:/sbin/getty -f /etc/issue #38400 -\"\r\n\r\nBut something wasn't happy, and I definitely lack the skill to troubleshoot\r\nit.  \r\n\r\nI hacked up the attached super-n00b patch, which does work, but is most\r\nlikely not the best solution.  agetty (the getty I'm using) allows for\r\nstring substitution in issue files, but the attached patch just cats the\r\nissue file to the client, so ANSI escape sequences work (the client renders\r\nthem correctly) but no string substitution is performed.\r\n\r\nScreenshot of the banner here (click through google's thingy): http://psas.googlegroups.com/web/siab.issue_banner.26Aug2009.jpg Also, any plans on setting up a mailing list for SIAB, using the issue\r\ntracker for stuff like this seems like overkill.\r\n\r\nThanks,\r\n\r\nBrian\n\n**Attachment:** [shellinabox-2.9.issue_banner.26Aug2009.patch](http://code.google.com/p/shellinabox/issues/detail?id=29)\n\n_Original issue: http://code.google.com/p/shellinabox/issues/detail?id=29_"}}