* Re: How can I get an message before I login with telnet ??
1996-03-20 5:00 How can I get an message before I login with telnet ?? Hans Fokker
` (2 preceding siblings ...)
[not found] ` <3150202A.5B12@bankerstrust.com>
@ 1996-03-20 5:00 ` Max Waterman
1996-03-22 5:00 ` ANTE TOCILJ
4 siblings, 0 replies; 8+ messages in thread
From: Max Waterman @ 1996-03-20 5:00 UTC (permalink / raw)
On normal UNIX systems, login cats the /etc/motd file. But thats only
login. Telnet is different on the systems I can look at.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How can I get an message before I login with telnet ??
1996-03-20 5:00 ` Todd Aven
@ 1996-03-20 5:00 ` Greg German
0 siblings, 0 replies; 8+ messages in thread
From: Greg German @ 1996-03-20 5:00 UTC (permalink / raw)
Todd Aven (Todd.Aven@BankersTrust.Com) wrote:
> Hans Fokker wrote:
> > We would like to get a message on the screen before someone logs into one of our Alpha's.
> >
> > Ofcourse we want to say there that illigal attempts are not allowed etc.
> Add a line to /etc/gettydefs:
> default# # #\r\nUnauthorized access is prohibited.\r\n\r\n#default
> You might have to send a HUP signal to some process.
I have had trouble getting this to work with OSF. I did the following:
cp /usr/sbin/telnetd /usr/sbin/.telnetd
replaced /usr/sbin/telnetd with the following script:
#!/bin/sh
echo "\r\n\r\nWelcome to OhioLINK, the Ohio Library and Information Network.\r\n \nPlease type the following at LOGIN: ohiolink"
/usr/sbin/.telnetd
note that the echo command is one line, some mailers/editors might break
it up.
Greg German greg@ohiolink.edu
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How can I get an message before I login with telnet ??
1996-03-20 5:00 How can I get an message before I login with telnet ?? Hans Fokker
@ 1996-03-20 5:00 ` Gary Veum
1996-03-28 5:00 ` Tony Jones
1996-03-20 5:00 ` Todd Aven
` (3 subsequent siblings)
4 siblings, 1 reply; 8+ messages in thread
From: Gary Veum @ 1996-03-20 5:00 UTC (permalink / raw)
we use the tcpwrapper code. there is an option with it to use something
called banners. in this, you can give it a file for each application
connecting
to inetd to display. tcpwrapper code is public domain, widely available. it
is used for security purposes..
-gary
gary.veum@gsfc.nasa.gov
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How can I get an message before I login with telnet ??
[not found] ` <3150202A.5B12@bankerstrust.com>
@ 1996-03-20 5:00 ` Steve McLaughlin
0 siblings, 0 replies; 8+ messages in thread
From: Steve McLaughlin @ 1996-03-20 5:00 UTC (permalink / raw)
In article <3150202A.5B12@bankerstrust.com>,
Todd Aven <Todd.Aven@BankersTrust.Com> wrote:
>Hans Fokker wrote:
>> We would like to get a message on the screen before someone logs into one of our Alpha's.
>>
>> Ofcourse we want to say there that illigal attempts are not allowed etc.
>
>Add a line to /etc/gettydefs:
>
>default# # #\r\nUnauthorized access is prohibited.\r\n\r\n#default
>
>You might have to send a HUP signal to some process.
>
>Cheers,
>Todd.Aven@BankersTrust.Com
Correct, but the gettydefs file only allows for an 80 character
message. tcp_wrappers will allow for a full banner message. It's
easy to install and provides some nice security features.
It can be found at:
ftp://ftp.win.tue.nl/pub/security/tcp_wrappers_7.3.tar.gz
Steve Mc
^ permalink raw reply [flat|nested] 8+ messages in thread
* How can I get an message before I login with telnet ??
@ 1996-03-20 5:00 Hans Fokker
1996-03-20 5:00 ` Gary Veum
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: Hans Fokker @ 1996-03-20 5:00 UTC (permalink / raw)
Hi everyone,
We would like to get a message on the screen before someone logs into one of our Alpha's.
Ofcourse we want to say there that illigal attempts are not allowed etc.
Does somebody has any experience with this and how can we do this ??
We are using Alpha machine's with OSF v.3.2.
Every help would be very nice.
Thanks in advance,
Erik Bais
Andersen Consulting
Email : E.Bais@rits-c.rib.ns.unisource.nl
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How can I get an message before I login with telnet ??
1996-03-20 5:00 How can I get an message before I login with telnet ?? Hans Fokker
1996-03-20 5:00 ` Gary Veum
@ 1996-03-20 5:00 ` Todd Aven
1996-03-20 5:00 ` Greg German
[not found] ` <3150202A.5B12@bankerstrust.com>
` (2 subsequent siblings)
4 siblings, 1 reply; 8+ messages in thread
From: Todd Aven @ 1996-03-20 5:00 UTC (permalink / raw)
Hans Fokker wrote:
> We would like to get a message on the screen before someone logs into one of our Alpha's.
>
> Ofcourse we want to say there that illigal attempts are not allowed etc.
Add a line to /etc/gettydefs:
default# # #\r\nUnauthorized access is prohibited.\r\n\r\n#default
You might have to send a HUP signal to some process.
Cheers,
Todd.Aven@BankersTrust.Com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How can I get an message before I login with telnet ??
1996-03-20 5:00 How can I get an message before I login with telnet ?? Hans Fokker
` (3 preceding siblings ...)
1996-03-20 5:00 ` Max Waterman
@ 1996-03-22 5:00 ` ANTE TOCILJ
4 siblings, 0 replies; 8+ messages in thread
From: ANTE TOCILJ @ 1996-03-22 5:00 UTC (permalink / raw)
Max Waterman (dwater@wight.hursley.ibm.com) wrote:
: On normal UNIX systems, login cats the /etc/motd file. But thats only
: login. Telnet is different on the systems I can look at.
..
: We would like to get a message on the screen before someone logs into one of: our Alpha's
Edit /etc/gettydefs
Usually line:
console# B9600 HUPCL CS8 CLOCAL # B9600 SANE IXANY TAB3 CLOCAL #\r\n\r\n%v (%h)
%t\r\n\r\n\rlogin: #console
Take care what are you editing it is not so elegant as on SGI ...
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ante Tocilj (Weizmann Institute of Science, ISRAEL)
/E-mail: csante@wicc.weizmann.ac.il/Phone: +972-8-343022/Fax: +972-8-344154/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: How can I get an message before I login with telnet ??
1996-03-20 5:00 ` Gary Veum
@ 1996-03-28 5:00 ` Tony Jones
0 siblings, 0 replies; 8+ messages in thread
From: Tony Jones @ 1996-03-28 5:00 UTC (permalink / raw)
Gary Veum (veum) wrote:
: we use the tcpwrapper code. there is an option with it to use something
: called banners. in this, you can give it a file for each application
: connecting
: to inetd to display. tcpwrapper code is public domain, widely available. it
: is used for security purposes..
I'd have thought this would cause problems.
The client end is expecting to do options negotiation with the remote
telnetd. If the remote tcpwrapper sends out some banner text before it
exec's the telnetd, I'd have expected this to cause the client to barf.
On the other hand, maybe I'm missing something.
tony
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1996-03-28 5:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-20 5:00 How can I get an message before I login with telnet ?? Hans Fokker
1996-03-20 5:00 ` Gary Veum
1996-03-28 5:00 ` Tony Jones
1996-03-20 5:00 ` Todd Aven
1996-03-20 5:00 ` Greg German
[not found] ` <3150202A.5B12@bankerstrust.com>
1996-03-20 5:00 ` Steve McLaughlin
1996-03-20 5:00 ` Max Waterman
1996-03-22 5:00 ` ANTE TOCILJ
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox