Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How I can put a message with the name of the server?

Status
Not open for further replies.

bipromeco

Technical User
Oct 9, 2002
11
US
Hello everyone
What is the name of the file where I can to put (draw) the name of the server so when I connect to, the first thing that appears was the name of the server?

Thanks in advance.
Regards!
 
/etc/copyright contains the file that appears just after you log in. I don't know what the file is that appears for your login prompt.
 
If you are connecting via telnet the file to edit is: /etc/default/telnetd
This file contains what should be printed when you connect. Example contents could be:
BANNER="\n\t*** Welcome to `uname -i` ***\n\n"

This would the print something like:
joneni@uslonco2> telnet uslonco5

Connected to uslonco5.
Escape character is '^]'.

*** Welcome to uslonco5 ***

login:
----------------

Hope this helps.
 
/etc/issue = Display on console at the login prompt

/etc/motd = "Message of the day" displays a message to
users after they login (also telnet)

/etc/copyright = Displays the copyright information for
the OS


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top