there are two things xinetd or inetd
I hope you are using xinetd

then

1. open the file /etc/xinetd.d/telnet
it might look like this

service telnet
{
        disable         = yes
        flags           = REUSE
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/sbin/telnetd
        server_args     = -a none
        log_on_failure  += USERID
}

where you see
disable         = yes

modify this line to
disable         = no

and repeat this all the services

and then issue this command
/etc/init.d/xinetd restart

or

ps -ef | grep xinetd | awk '{print $2}' | xargs kill -HUP




----- Original Message -----
From: "Prajval Shastri" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 26, 2001 10:17 AM
Subject: [LIH] Re: RH7.2 and telnet/ftp/rlogin


I had my sysadmin install RedHat7.1 on my system called anya:

     [pshastri@anya pshastri]$ uname -a
     Linux anya.iiap.ernet.in 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686
unknown
     [pshastri@anya pshastri]$

I need help with this:

While I can ping, telnet, ftp and rlogin OUT of anya, I cannot telnet,
ftp or rlogin INTO anya from outside it. I can ping anya from outside it.
Eg from a machine called shoonya on the same LAN,

     pshastri@shoonya% ping anya
     anya is alive

But with

     pshastri@shoonya% telnet anya

I get

     telnet: connect: Connection refused
     telnet>

Our sysadmin installed the same version of RedHat on another PC (called
saturn)  on the same lan:

     bash-2.04$ uname -a
     Linux saturn 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown
     bash-2.04$

and there ftp, telnet and rlogin work both ways.

I have compared the /etc/host.conf, /etc/services, /etc/protocols files on
the
2 machines using the diff command and they are identical. There is no
/etc/networks file on either machine.

Would you please help??

Many thanks
Prajval




_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to