Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: ggerman@alpha.wright.edu (Greg German)
Subject: Re: How can I get an message before I login with telnet ??
Date: 1996/03/20	[thread overview]
Message-ID: <4ipt7h$ed8@alpha.wright.edu> (raw)
In-Reply-To: 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.

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



  reply	other threads:[~1996-03-20  5:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-20  5:00 How can I get an message before I login with telnet ?? Hans Fokker
     [not found] ` <3150202A.5B12@bankerstrust.com>
1996-03-20  5:00   ` Steve McLaughlin
1996-03-20  5:00 ` Todd Aven
1996-03-20  5:00   ` Greg German [this message]
1996-03-20  5:00 ` Gary Veum
1996-03-28  5:00   ` Tony Jones
1996-03-20  5:00 ` Max Waterman
1996-03-22  5:00 ` ANTE TOCILJ
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