{"id":16332082,"url":"https://github.com/m1kc/motd","last_synced_at":"2026-01-17T22:52:25.543Z","repository":{"id":146806269,"uuid":"89591810","full_name":"m1kc/motd","owner":"m1kc","description":"A portable fast MOTD similar to Ubuntu's.","archived":false,"fork":false,"pushed_at":"2024-08-21T13:37:28.000Z","size":157,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T17:41:25.453Z","etag":null,"topics":["bash","fish","monitoring","motd","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m1kc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-04-27T11:49:17.000Z","updated_at":"2024-08-21T13:37:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3c904a2-e6ea-4693-9bbb-07a454f3a6f6","html_url":"https://github.com/m1kc/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/m1kc%2Fmotd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1kc%2Fmotd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1kc%2Fmotd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1kc%2Fmotd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m1kc","download_url":"https://codeload.github.com/m1kc/motd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246932669,"owners_count":20857037,"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":["bash","fish","monitoring","motd","shell"],"created_at":"2024-10-10T23:29:13.468Z","updated_at":"2026-01-17T22:52:25.532Z","avatar_url":"https://github.com/m1kc.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# motd\n\nA portable fast MOTD similar to Ubuntu's.\n\nLong story short:\n\n![screenshot](screenshot.png)\n\n\n## Installation\n\n### As PAM login script (recommended)\n\n1. Copy `motd.sh` to `/etc`.\n2. Edit `/etc/pam.d/system-login`:\n\n```diff\n-session    optional   pam_motd.so          motd=/etc/motd\n+session    optional   pam_exec.so          stdout /etc/motd.sh\n```\n\n#### For Debian ^11.6\n\n1. Copy `motd.sh` to `/etc`.\n2. Edit `/etc/pam.d/login` and `/etc/pam.d/sshd`:\n\n```diff\n-session    optional   pam_motd.so          motd=/run/motd.dynamic\n+session    optional   pam_exec.so          stdout /etc/motd.sh\n```\n\n3. (Optional) Disable static motd message:\n\nEdit `/etc/pam.d/login` and `/etc/pam.d/sshd`\n```diff\n-session    optional     pam_motd.so noupdate\n```\n\n### As fish prompt\n\n1. Copy `motd.sh` to `/etc`.\n2. Put this into your `~/.config/fish/config.fish`:\n\n```fish\nif [ xterm != \"dumb\" ]\n  bash /etc/motd.sh; or echo \"Failed to show MOTD.\"\nend\n```\n\nIf you don't like scripts in `/etc`, feel free to choose any other location.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1kc%2Fmotd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm1kc%2Fmotd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1kc%2Fmotd/lists"}