update-motd(8)

NAME

update-motd - Automatically update the message-of-the-day (MOTD)

SYNOPSIS

update-motd

DESCRIPTION

update-motd is a daemon that will dynamically generate and update /etc/motd according to the output of scripts installed by the administrator.

When update-motd initially starts, it will run all scripts in /etc/update-motd.d, /etc/update-motd.d/hourly, /etc/updatemotd.d/daily, /etc/update-motd.d/weekly, and /etc/updatemotd.d/monthly, concatenating the output and writing this to /etc/motd.

Thereafter, update-motd will sleep, and awake every 10 minutes, and rerun all of /etc/update-motd.d/* again. Additionally, every 60 minutes, it will run /etc/update-motd.d/hourly/*. And every 24 hours, it will also run /etc/update-motd.d/daily/*. Every 7 days, it will run /etc/update-motd.d/weekly/*. And every 30 days, it will run /etc/update-motd.d/monthly/*.

Note that these time intervals are relative to when the update-motd daemon starts, and not to the current system time.

FILES

/etc/cron.d/update-motd, /etc/update-motd.d/, /etc/updatemotd.d/hourly, /etc/update-motd.d/daily, /etc/update-motd.d/weekly, /etc/update-motd.d/monthly, /etc/motd.tail, /var/run/motd, /var/run/update-motd

AUTHOR

Dustin Kirkland <kirkland@canonical.com>

LICENSE

This manpage and the update-motd utility was written by Dustin Kirkland <kirkland@canonical.com> for Ubuntu systems (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-3.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout