Tag Archives: dynamic motd

Dynamic MOTD on Centos7

Just few steps!

Install figlet package:

 

Create /etc/motd.sh script with this content:

Make the script executable:

Append this script to /etc/profile in order to be executed as last command once a user logs in:

Try and have fun! 🙂

 

If you are using Debian, here the other guide.

Dynamic MOTD on Debian

Here a simple script that setup a dynamic MOTD message ‘ubuntu-like’ on Debian servers:

 

If you are running CentOS7, here the how to for that OS.