{"id":18906527,"url":"https://github.com/claranet/motd","last_synced_at":"2025-04-15T04:31:38.200Z","repository":{"id":46086338,"uuid":"359369334","full_name":"claranet/motd","owner":"claranet","description":"Claranet Unix Motd","archived":false,"fork":false,"pushed_at":"2025-03-06T10:37:32.000Z","size":80,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":26,"default_branch":"master","last_synced_at":"2025-03-28T00:34:36.073Z","etag":null,"topics":["claranet","linux","misc","motd","unix"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/claranet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-19T07:34:10.000Z","updated_at":"2025-03-06T10:37:37.000Z","dependencies_parsed_at":"2025-03-06T11:36:59.784Z","dependency_job_id":null,"html_url":"https://github.com/claranet/motd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claranet%2Fmotd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claranet%2Fmotd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claranet%2Fmotd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claranet%2Fmotd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/claranet","download_url":"https://codeload.github.com/claranet/motd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249006449,"owners_count":21197279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claranet","linux","misc","motd","unix"],"created_at":"2024-11-08T09:16:38.320Z","updated_at":"2025-04-15T04:31:37.807Z","avatar_url":"https://github.com/claranet.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Motd\n\nHere is motd for Claranet.\n\n## Preview\n\n![basic](examples/basic.png \"basic motd\")\n\n## Requirements\n\nYour system must use an UTF-8 locale\n\nEnsure that your `$LANG` variable equals `xx_XX.UTF-8`\n\n## Installation\n\n### Banner\n\nCopy [motd](motd) file to `/etc/banner`:\n\n```bash\ncurl -s https://raw.githubusercontent.com/claranet/motd/master/banner -o /etc/banner\n```\n\n_Be sure to enable `Banner /etc/banner` in `/etc/ssh/sshd_config`_\n\n### MOTD\n\n**Using Ansible**\n\nYou can use this Ansible role to install this MOTD : [https://github.com/claranet/ansible-role-motd](https://github.com/claranet/ansible-role-motd)\n\nIt do a low level installation so it is compatible with _all_ Linux distros\n\n**Manual**\n\n\u003e It is compatible with [update-motd](https://launchpad.net/update-motd) used by Ubuntu.\n\n```bash\nmkdir /etc/update-motd.d\ncurl -s https://raw.githubusercontent.com/claranet/motd/master/scripts/00-basic -o /etc/update-motd.d/00-basic\nchmod +x /etc/update-motd.d/00-basic\n```\n\nFor not compatible distributions you will have to add the following line to `/etc/pam.d/sshd` and `/etc/pam.d/login`:\n\n```\nsession    optional   pam_exec.so          stdout /etc/update-motd.d/00-basic\n```\n\nYou could also want to disable the \"last login\" information by configuring `PrintLastLog` to `no` in `/etc/ssh/sshd_config`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaranet%2Fmotd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclaranet%2Fmotd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaranet%2Fmotd/lists"}