Create a login message for your server – The “motd” file under Unix

Hi, it’s very interesting. There is one file ‘motd‘ under the /etc location where you can add the welcome message.
motd stands for “Message of the Day”.

The contents of /etc/motd is displayed while you are log into the server. Please find the example below:

# cat /etc/motd
+++++++++++++++++++
You are currently logged into a very secure system. All your actions are recorded. Be careful.
+++++++++++++++++++
Last login: Mon Mar  3 18:02:16 2014 from xxx.xx.xx.xx
+++++++++++++++++++
You are currently logged into a very secure system. All your actions are recorded. Be careful.
+++++++++++++++++++
[[email protected] ~]$ 

That’s it. 🙂

Arunlal Ashok

Linux Server Administrator. I'm dealing with Linux servers since 2012. I started this blog to share and discuss my ideas with the world. Check My Profile!! in uPwork (oDesk) and let me know if you need any assistance. Thanks!!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *