Summary of supressing "UNIX(r) System V Release 4.0 (joe.foo.com)"
banner on telnet login on a Solaris 2.4 system....
The answer is not a pretty one...
The banner is not in the /etc/motd or /etc/issue file...
It lives in the binary in.telnetd....ugly :-(
It would be nice if SUN had build in.telnetd with some sort of flag to
suppress this...
OPTIONS:
1 -Replace in.telnetd with a public domain version -- not
2 -Recompile it...SUN would have to provide the source code
3 -Edit the binary very very carefully and replace the banner with blanks
4 -get SUN to send me a binary with out the banner...
I am going to push for number 4....
later..
joe
Original Question:
-------------------------------------------------------------------------------
Subject: Login message delete system info...?
Solaris 2.4 ...
I would like to surpress the line:
UNIX(r) System V Release 4.0 (joe.foo.com)
I have not found any way to do this...could someone help me out...file to
edit...flag to turn on?
It is not part of the /etc/issue file...I can't seem to find where to
suppress this information
Here is what folks get when they telnet to my system....
Trying...
connected to joe.foo.com.
Escape character is '^]'.
UNIX(r) System V Release 4.0 (joe.foo.com)
*******************************************************************************
*******************************************************************************
This system is to be used ONLY by authorized users
conducting legitimate corporate business. User
processing Activities are monitored for
administrative and security purposes. Anyone using
this system expressly consents to such monitoring
and to the use of any evidence of unauthorized
access, use or modification for criminal prosecution.
*******************************************************************************
*******************************************************************************
login:
-------------------------------------------------------------------------------
From: Kevin.Sheehan@uniq.com.au (Kevin Sheehan {Consulting Poster Child})
[ Regarding "Login message delete system info...?", jsdietz@uswest.com writes on Jan 17: ]
> I would like to surpress the line:
> UNIX(r) System V Release 4.0 (joe.foo.com)
This is a message buried in in.telnetd. I don't think you can get
get telnetd not to do it. You might be able to get a public domain
telnetd like the wu-* stuff, but I haven't done that personally for
a while...
-------------------------------------------------------------------------------
From: holzmann@cs.uleth.ca (Wolfgang H. Holzmann)
look at /etc/motd
-------------------------------------------------------------------------------
From: "Michael S. Fischer" <mfischer@nsi.edu>
A quick run of "strings /usr/sbin/in.telnetd" shows that this string is
hard-coded into the telnet daemon. To fix it, you'd probably want to
(carefully) modify the string by hand or compile a new telnet daemon.
-------------------------------------------------------------------------------
From: mike@trdlnk.com (Michael Sullivan)
It's hard-coded in /usr/sbin/in.telnetd. You would have to modify the
program to eliminate the message.
-------------------------------------------------------------------------------
From: Toby Darling <tobyd@x.co.uk>
Is it in /etc/motd ? (Message Of The Day)
-------------------------------------------------------------------------------
From: Roger Salisbury <rogers@ttmc.com>
look at /etc/motd
-------------------------------------------------------------------------------
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:51 CDT