Tag Archives: chmod

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.

Rsync – force chmod

Example