I don't have xinetd on my RedHat 7 system anymore...but I did at one time.
I believe to use the server_args directive you have to also use the FLAGS
directive.  Check the xinetd man page for more information....but I remember
having to do that when I installed TCP wrappers.

Jason

-----Original Message-----
From: Conor Daly [mailto:[EMAIL PROTECTED]]
Sent: Saturday, March 10, 2001 6:57 AM
To: Techtalk
Subject: [techtalk] Telnet trouble with RH7.0


Hi,

I'm trying to use telnet with an rh7.0 box and xinetd and I'm having
trouble.  My /etc/xinetd.d/telnet is below.  Using the default file (which
I may have lost by now, when I try to telnet I get "connection refused".
I tried to duplicate the line from /etc/inetd.conf from an RH6.2 box 

telnet  stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd

and when I telnet, I get a "connected" message but no login.  tcpd sits
there (presumably) waiting for the user to be authenticated. 
/var/log/messages shows nothing

Any thoughts?

####/etc/xinetd.d/telnet#####
# default: off
# description: The telnet server. This is the tcp \
# version.

service telnet
{
#       id              = telnet-stream
        socket_type     = stream
        protocol        = tcp
        user            = root
        groups          = yes
        server          = /usr/sbin/tcpd
#        server          = /usr/sbin/in.telnetd
        server_args     = in.telnetd
#        server          = /bin/login
#        server_args     = /bin/login
#        server_args     = -1
        wait            = no
        disable         = no
}                                                 
######## end telnet ##########

-- 
Conor Daly <[EMAIL PROTECTED]>

Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
 12:36pm  up 10 days, 23:11,  0 users,  load average: 0.00, 0.00, 0.00

Hobbiton.cod.ie
 11:39am  up 10 days, 21:49,  2 users,  load average: 0.00, 0.00, 0.00

_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk

_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk

Reply via email to