Easily generate a custom Message of the Day (MOTD) for your Ubuntu or Debian server. Make your login sessions informative and personalized!
00-dynamic-motd
in the /etc/update-motd.d/
directory:
sudo nano /etc/update-motd.d/00-dynamic-motd
sudo chmod +x /etc/update-motd.d/00-dynamic-motd
sudo mv /etc/motd /etc/motd.bak
sudo nano /etc/pam.d/sshd
And make sure the following line is present and not commented out:
session optional pam_motd.so motd=/run/motd.dynamic
A dynamic MOTD (Message of the Day) is a script that generates a customized message each time a user logs into the system. Unlike a static MOTD, which displays the same message every time, a dynamic MOTD can show up-to-date system information, custom messages, and other relevant data.
Benefits of using a dynamic MOTD include:
Our Dynamic MOTD Generator creates a shell script that you can easily install on your Ubuntu or Debian server to provide an informative and personalized login experience for your users.
Looking for an easy way to manage patches and updates across your Linux servers?
Visit LinuxPatch to streamline your patch management process.
Visit LinuxPatch