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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

add msg to login screen 1

Status
Not open for further replies.

sirrom

Technical User
Jul 11, 2001
80
GB
I want to add a message to the login screen as below.
What’s the file I have to edit to achieve this ?
Thanks in advance.


# telnet remote machine
Trying 999.99.99.99
Connected to remote machine.
Escape character is '^]'.

Sun UltraSparc 450/2 x 400MHz 1024Mb Memory

Solaris 2.7 (Sun OS 5.7)

-------------------My message here--------------------------
 
I think there is more than one way to do this.

Right now the only thing I can think of is /etc/issue.net

issue.net will display a login message. However there is a way to edit the server string

"Sun UltraSparc 450/2 x 400MHz 1024Mb Memory"

If I can recall where it is I'll post back.

good luck



-Danny
dan@snoboarder.net






 
Hi sirrom,

just put your message in the file /etc/motd and you will see the contents of this file after logging in.

mrjazz [pc2]
 
Just remembered

edit /etc/default/telnetd

This is what I use

BANNER="Unauthorized access prohibited\n\nAll activity is logged.\n\n"

or

BANNER=""
will stop your host from displaying the operating system name and level when someone telnets to your system:

Should do the trick

-Danny
dan@snoboarder.net






 
Both worked well.
Thanks alot.
[thumbsup]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top