[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: "Disabled telnet" message on port 23.



It's very easy.
just edit your /etc/inetd.conf
go to the telnet line and switch in.telnetd with the name of script you'll
write.
you can put this script at the directory where in.telnetd is placed at (use
which in.telnetd)

script for example:

#!/bin/sh
echo Telnet is disabled Use ssh

do kill -1 to the inetd process(killall -1 inetd)
and that's all !

Haim

-----Original Message-----
From: linux-il-bounce@cs.huji.ac.il [mailto:linux-il-bounce@cs.huji.ac.il]On
Behalf Of Maxim Kryachko
Sent: Sunday, October 15, 2000 3:43 PM
To: 'linux-il@cs.huji.ac.il'
Subject: "Disabled telnet" message on port 23.


Hi all.

I disabled telnet service on my machine. Now I want everyone trying
to connect to this computer via telnet will get some message I edited,
informed him
about this services is disabled and suggesting using sCRT with SSH2 protocol
instead.
How could I have Linux show this messages to everyone connecting port 23 ?

Thank you

Max.


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il