Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Message Of the Day File  (Read 3472 times)

0 Members and 1 Guest are viewing this topic.

Haripriya H

  • Guest
Message Of the Day File
« on: December 08, 2013, 10:14:20 pm »
Message Of the Day File
===================
The /etc/motd is a file on Unix-like systems that contains a “message of the day”, used to send a common message to all users, in a more efficient manner than sending them all an e-mail message.
The contents of the file /etc/motd are displayed by the Unix login command after a successful login, and just before it executes the login shell

==>  ll /etc/motd

-rw-r–r– 1 root root 0 Jan 12 2000 /etc/motd

For example, if it contains the following text,

==>  cat /etc/motd

—————————————————————————
This computer system is for authorized users only. All activity is logged and
regularly checked by systems personnel. Individuals using this system without
authority or in excess of their authority are subject to having all their
services revoked. Any illegal services run by user or attempts to take down
this server or it’s services will be reported to local law enforcement, and
said user will be punished to the full extent of the law. Anyone using this
system consents to these terms.
—————————————————————————

Then the following will be showing once we log in to the system.

Last login: Tue Apr 16 19:40:08 2013 from 1.2.3.4
—————————————————————————
This computer system is for authorized users only. All activity is logged and
regularly checked by systems personnel. Individuals using this system without
authority or in excess of their authority are subject to having all their
services revoked. Any illegal services run by user or attempts to take down
this server or it’s services will be reported to local law enforcement, and
said user will be punished to the full extent of the law. Anyone using this
system consents to these terms.
—————————————————————————