From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,63d00eb216a14585 X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,63d00eb216a14585 X-Google-Attributes: gid1164f8,public From: ggerman@alpha.wright.edu (Greg German) Subject: Re: How can I get an message before I login with telnet ?? Date: 1996/03/20 Message-ID: <4ipt7h$ed8@alpha.wright.edu>#1/1 X-Deja-AN: 143453025 references: <315064D0.4D2@charon.cvi.ns.nl> <3150202A.5B12@BankersTrust.Com> followup-to: comp.unix.osf.osf1,comp.sys.dec,comp.unix.osf.osf1 organization: Wright State University, Dayton, Ohio 45435 newsgroups: comp.unix.osf.osf1,comp.sys.dec,comp.unix.osf.osf1 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