{"id":28999636,"url":"https://github.com/rtulke/dynmotd","last_synced_at":"2026-02-28T18:07:03.458Z","repository":{"id":75909946,"uuid":"42047792","full_name":"rtulke/dynmotd","owner":"rtulke","description":"Dynamic Motd (Message of the Day)","archived":false,"fork":false,"pushed_at":"2025-07-17T17:01:32.000Z","size":661,"stargazers_count":65,"open_issues_count":0,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-17T19:40:58.043Z","etag":null,"topics":["bash","bash-script","dynamic","logging","login-screen","maintenance","maintenance-mode","message-of-the-day","motd","motd-message","shell","shell-script"],"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/rtulke.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,"zenodo":null}},"created_at":"2015-09-07T10:52:11.000Z","updated_at":"2025-07-17T17:01:35.000Z","dependencies_parsed_at":"2024-05-22T20:43:27.486Z","dependency_job_id":"622ea052-a896-41e4-aa65-e84c4434d18d","html_url":"https://github.com/rtulke/dynmotd","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rtulke/dynmotd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtulke%2Fdynmotd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtulke%2Fdynmotd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtulke%2Fdynmotd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtulke%2Fdynmotd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtulke","download_url":"https://codeload.github.com/rtulke/dynmotd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtulke%2Fdynmotd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29946467,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T17:57:52.716Z","status":"ssl_error","status_checked_at":"2026-02-28T17:57:31.974Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","bash-script","dynamic","logging","login-screen","maintenance","maintenance-mode","message-of-the-day","motd","motd-message","shell","shell-script"],"created_at":"2025-06-25T08:01:47.396Z","updated_at":"2026-02-28T18:07:03.449Z","avatar_url":"https://github.com/rtulke.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# dynmotd\nDynamic Motd (Message of the Day) an script that outputs some system-specific information.\n\n![Example](/data/screenshot.png)\n\n# Useful Functions\n* easy to create own color schemes\n* enabling or disabling information sections\n* specific system description for each system\n* maintenance logging\n* only one shell script\n* multi OS support\n* easily extendable\n* less dependencies\n\nNew features comming soon\n* better Multi OS support\n* GeoIP Information\n* Weather Information \n* NewsFeeder?\n\n# Tested Linux Distributions\n\n| Distribution \t      | Status               |\n|---------------------|----------------------|\n| CentOS 8 - 9\t      | Successfully tested  |\n| Debian 8 - 12       | Successfully tested  |\n| Ubuntu 18 - 23.10   | Successfully tested  |\n| Fedora 38 - 39      | Successfully tested  |\n| Rocky Linux 8 - 9   | Successfully tested  |\n| Raspberry Pi OS     | Successfully tested  |\n| openSUSE tumbleweed | Successfully tested  |\n\nTell me if you have tested it on an OS that is not on the list.\n\nPre-Setup Debian, Raspberry PI OS and Ubuntu and all other Debian based Distributions\n-------------------------------------------------------------------------------------\n\nInstall default packages:\n\n~~~\napt update \u0026\u0026 apt upgrade\napt install coreutils bc procps hostname sed mawk grep bind9-host lsb-release git\n~~~\n\nPre-Setup CentOS, Rocky Linux and RedHat\n----------------------------------------\n\nInstall default packages:\n\n~~~\nyum install bc bind-utils redhat-lsb-core git \n~~~\n\nAlma Linux\n----------\n\nInstall default packages:\n\n~~~\ndnf install bc git bind-utils almalinux-release\n~~~\n\n\nInstallation\n------------\n\nScript runs only as root.\n\n~~~\nsudo -i\ngit clone https://github.com/rtulke/dynmotd.git\ncd dynmotd\n./dynmotd.sh --install\n~~~\n\nTo test dynmotd properly, you should log out of the system and log in again.\nIf you have logged in directly via ssh root, log in to the server again.\n\n~~~\nexit\nsudo -i\n~~~\n\n\nParameter \n---------\n\n~~~\nUsage: dynmotd [-c|-a|-d|--install|--help] \u003cvalue\u003e\n\n    e.g. dynmotd -a \"start web migration\"\n\n    Parameter:\n\n    -a | addlog    | --addlog \"...\"             add new log entry\n    -d | rmlog     | --rmlog [loglinenumber]    delete a specific log entry by using -l to identify the line number\n    -l | log       | --log                      list log entries\n    -c | config    | --config                   restart setup\n    -i | install   | --install                  install dynmotd\n    -u | uninstall | --uninstall                uninstall dynmotd\n~~~\n\nSome dynmotd Options\n--------------------\n\n~~~\nvim /usr/local/bin/dynmotd\n~~~\n\nYou can enable or disable information blocks \n\n~~~\n## enable system related information about your system\nSYSTEM_INFO=\"1\"             # show system information\nSTORAGE_INFO=\"1\"            # show storage information\nUSER_INFO=\"1\"               # show some user infomration\nENVIRONMENT_INFO=\"1\"        # show environement information\nMAINTENANCE_INFO=\"1\"        # show maintenance information\nUPDATE_INFO=\"0\"             # show update information, deactivate when using redhat\nVERSION_INFO=\"1\"            # show the version banner\n~~~\n\n * 1 = enable\n * 0 = disable\n\nYou can also change the number of log lines displayed by changing \"LIST_LOG_ENTRY\".\n\n~~~\nLIST_LOG_ENTRY=\"5\"\n~~~\n\nKnown Issues\n------------\n\n### The FQDN or hostname or IP Address is not displayed correctly?\nThe FQDN Full Qualified Domain Name is not displayed correctly if it has not been made known to the system in the /etc/hostname file. In this case, the matching exposed IP cannot be displayed correctly either.\n\nExample: The command: `hostname --fqdn` produces the following output:\n~~~\nmail\n~~~\n\nThis is probably due to the fact that only \"mail\" has been entered in the /etc/hostname file. \nThis can be remedied as follows:\n~~~\nhostname subdomain.domain.tld\nhostname \u003e/etc/hostname\n~~~\n\nExample:\n~~~\nhostname mail.linux-hub.ch\nhostname \u003e/etc/hostname\n~~~\n\nYou can check it with the following command.\n~~~\nhostname --fqdn\nmail.linux-hub.ch\n~~~\n\ncheck also the `/etc/hosts` entry\n\n~~~\n127.0.1.1 mail.linux-hub.ch\n~~~\n\n### UPDATE_INFO=\"1\" displays errors\nWhen I have activated UPDATE_INFO=\"1\" I get errors. This may be because you are not working on a Debian based system. If you are not working on a Debian based system you should set the option UPDATE_INFO=\"0\" so that this info block is not displayed.  Maybe this will be a feature for the future.\n\n### In \"User Data\" info block, SshKeyRootUsers shows \"- Unkown -\"\nThis always happens if the SSH key has no comment that indicates which SSH key it is. To fix the problem, you either have to enter an additional name or e-mail address at the end of the key in the ~/.ssh/authorized_keys file using a space or create your SSH keys with ssh-keygen -C \"YourNameHere\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtulke%2Fdynmotd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtulke%2Fdynmotd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtulke%2Fdynmotd/lists"}