Editing “message of the day” – motd

November 30, 2008 - Views: 18818
Category: Linux Basics

The message of the day is a nice thing to show informations to a user, who is connecting via console. You can put funny ascii figures there, or important informations and how-to’s.

The message will be shown prompltly after authentification:

motd-499x308

To get these basic messages, just put it into /etc/motd (and in /etc/motd.tail for Debian and Ubuntu). For example the /etc/motd:

_______________________________________________________
WELCOME TO LOCALHOST

[localhost.org] FILE SERVER
To start or stop fileserver:
/etc/init.d/nfsd start/stop

Finding ascii art at:
http://www.ascii-art.de/ascii/index2.shtml
http://www.ascii-art.de/ascii/def/demon.txt

  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • MisterWong
  • Yigg
  • Technorati
  • Blogosphere News
  • LinkArena
  • Webnews.de

Tags: ,

Related Posts:

8 Responses

  1. I found many interesting in this site. Thank you a lot

  2. Installing fortune and cowsay as well as putting something like this into .bashrc (or whatever your shell includes at startup) is fun too:

    fortune | cowsay -W 60

  3. In SuSE you need to edit the /etc/motd file. The .tail is necessary for ubuntu and debian – otherwise the message is lost after rebooting.
    Thankx for link, I’ve updated the post.

  4. [...] to Michael I now have a very nice welcome screen, when I (or my co-developers) login to our SAP development [...]

  5. I actually found a perfect ascii, too:
    http://www.ascii-art.de/ascii/def/demon.txt
    :-)

  6. Oh! Sorry for disturbing you again: It just got it working with editing only the motd file :-) No motd.tail file necessary! Now I have a nice login screen on my evil sap development server. Thanks!!

  7. => I created the /etc/motd.tail file and inserted the code that I want to show up after being successfully logged in but it didn’t work :-( Do I have to create/modify the /etc/motd file,too? I’m running suse novell.

  8. I like the robot! It’sooooo cute :-)

Leave a Reply

Home | Imprint | Impressum | Archiv
© 2008 M.Sc. Dipl.Inf. Michael Kolb. Powered by Wordpress. HTML CSS
my technorati | my blogcatalog