This will install colorful and nice motd (message of the day) with some system informations.
MOTD is generated with scripts, that will be extracted to /etc/profile.d where you may modify them to suite your needs.
fail2ban and docker stats will not be shown if user do not have correct permissions for that.
Main install script – and the source files .sh used to create it are on github here:

To install use this command:

sudo sh -c "wget -q && chmod +x && ./"

You may also add system administrator email address as argument, like that:

Most of the work is done using scripts published here:

Some parts inside install script are .sh files encoded with base64. The reason was it's much easier to extract such data without formatting problems with special characters from one file.
I know it's lazy, but it is fast and very easy to do.

Tested on: CentOS 7/8, RHEL 8, Fedora 33, RockyLinux 8
v 1.4 – 15.03.2021
Add full file path for last command so it will work when sudo is used.
Fix for correct EPEL repo installing on EL7.
v 1.3 – 13.03.2021
Add monthly stats of fail2ban script.
Add docker containers list script.
Changed some colors to work better on white background.
Show more information while processing installer and system operator argument support.
v 1.2 – 13.03.2021
Little fixes.
v 1.1 – 12.03.2021
First release, tested on CentOS 7.
v 1.0 – 11.03.2021
Play at home, tested on RHEL 8 and CentOS 8.

Leave a Reply

Your email address will not be published.