Go2Linux | Linux Operating System

A site dedicated to: Linux Operating System

Linux message of the day

Date: 2010-04-05 00:00:00 -0400

To send messages to user that log on a Linux System, you can use the "message of the day" function.

Just edit the file /etc/motd and add there the message you want the users to see each time the log into the system.

sudo vim /etc/motd

Add there something like this:

Be sure to change your password at least once a month.
Just enter the command

passwd
at the prompt, and enter twice the new password

The sysadmin

Now when someone, logs into the console, or ssh the system will see that message.

If you liked this article please share it.

powered by TinyLetter

If you want to contact me in any other way, please use the contact page.