From: stern@physik.tu-chemnitz.de (Michael Sternberg)
Subject: Re: /etc/issue
Date: 21 Feb 95 09:02:12 GMT [thread overview]
Message-ID: <stern.793357332@tpdec1> (raw)
In-Reply-To: AFSAR.204.00110659@jaguar.litc.lockheed.com
AFSAR@jaguar.litc.lockheed.com writes:
>what I
>am looking for is when you log in to system you get this message that says:
>
>OSF/1 (your host name) (#ttyp2)
[..]
>The file name for this kind of annoncements are found on Cray and Convex
>systems in /etc/issue and I want to know what is file name in OSF1 systems.
Same for Linux.
On OSF/1, at least for the console, this is an issue of getty :-)
See gettydefs(4) for the definition of the login prompt on the console.
If you log in via rsh or rlogin, you don't get a login banner at all.
(just "login:" and "Password:" - if the client is not in the .rhosts
mechanism)
If you do telnet, the login banner is an issue of the server's telnetd.
Looking closely via "strings /usr/sbin/telnetd | grep /" reveals
(among other things):
OSF/1 (%h) (%t)
/etc/gettydefs
That is, your quoted line above is hard wired in telnetd.
I haven't looked into it further. Maybe you can manipulate /etc/gettydefs
to force telnetd to give another banner. Note that telnetd does seem to
NOT call getty but instead interprete gettydefs itself.
See getty(8), login(1) etc.
Hope it helps, Michael
--
"Who disturrrbs me at this time?" << Zaphod Beeblebrox IV >>
Michael Sternberg http://www.tu-chemnitz.de/~mst Theoretical Physics III
sternberg@physik.tu-chemnitz.de LabPhone: +49(0)371 531 3148
next prev parent reply other threads:[~1995-02-21 9:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-02-20 22:01 /etc/issue AFSAR
1995-02-21 9:02 ` Michael Sternberg [this message]
1995-02-22 14:11 ` /etc/issue Todd S. Aven
1995-02-22 15:27 ` /etc/issue Wuxu Peng
-- strict thread matches above, loose matches on Subject: below --
1995-03-05 16:47 /etc/issue Matthew Harrell
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox