In this brief blog entry I will explain what to do with way to much time and Linux (using the MOTD file). What is the MOTD you might ask? MOTD is a computer acronym that stands for Message Of The Day. A MOTD is a text file displayed to a user logging in on IRC, a shell using telnet or SSH, or FTP. The MOTD is typically used to display rules, administrator contact, or simply a piece of ASCII art.
So, who wants to view the blah default _yadda_ message over and over when, say, connecting to a host using SSH. I decided to add a little bit of ASCII art to my system's MOTD. First off that file is located at /etc/motd. motd is owned by the root user so proper permission will be issued using the sudo command. VIM is my choice editor while working in a terminal, replace with gedit if you want.
sudo vi /etc/motd
Nothing very fancy here, just some copy-left junk and distro credits. Add (or remove) some text. I use a personal quote, and some lovely ASCII art. ASCII art is pictures created with normal text characters. This is done by hand or with programs. Let's try a program. ;-) At www.network-science.de/ascii/ you can type in any text and the site just "do it!" leaving you with some ASCII art.
Finally copy a font you like and paste that into your open /etc/motd. Linux paste [ middle click ] into terminal.
~ Fin
My MOTD
Welcome to the...
_ _ ______ _______ _______ _____ __ _
|____/ |_____/ |______ | | | | | | \ |
| \_ | \_ |______ | | | |_____ __|__ | \_|
RSA:a3:b4:45:e3:80:47:5a:bb:f7:3d:da:f2:9f:79:6f:88
Ubuntu GNU/Linux 2.6.12-10-386 on i686.
This system was installed on Thu Dec 22 11:37:10 UTC 2005.
I doubt anyone will ever read this, but myself, seeing this
is a PRIVATE B0X unless you might be Luna.
"The God is up high, the Czar is far away"
PGP ID: 443C42A6