tags:

views:

873

answers:

3

There are certain messages which i wish to display to the personal who is doing putty to a linux shell. How do i like configure some kind of welcome message when people login to the linux shell?

+1  A: 

Put some content in the file /etc/issue

Some more details in http://www.linuxfromscratch.org/blfs/view/svn/postlfs/logon.html


crap /etc/motd was the file i was trying to remember. Upvoting his answer :)

moogs
+11  A: 

Message of the day, /etc/motd

i.e. edit the /etc/motd text file

Maglob
A: 

Another possibility, depending on exactly what you want to do, is to use sysnews. This isn't a standard part of linux but is included with many distributions ("aptitude install sysnews" on debian).

This will let you have a directory of messages that you want people to see on login. When they log in they will be shown any that they haven't previously seen.

Mark Baker