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

(usagi-users 01343) Re: getting telnet to run from xinetd



I have now gotten it to work, more or less.

here is my current config for xinetd

 default: on
# description: The telnet server serves telnet sessions; it uses \
#       unencrypted username/password pairs for authentication.
service telnet
{
        flags           = REUSE IPv6
        socket_type     = stream
        wait            = no
        #groups                 = yes
        server          = /usr/local/v6/sbin/in.telnetd
        #server         = /usr/sbin/in.telnetd
        log_on_failure  += USERID
        disable         = no
        user            = root

}

it does not work form a fresh boot but if I HUP xinetd it then starts
working.


[root@localhost /root]# telnet ::1
Trying ::1...
Connected to localhost.
Escape character is '^]'.

Red Hat Linux release 7.1 (Seawolf)
Kernel 2.4.17 on an i686
login:


-kirk


On Sat, 30 Mar 2002, Kirk Bollinger wrote:

>
> Yuji,
>
>
> netstat does not show is a listening.
>
> [root@localhost /root]# netstat -Ainet6
> Active Internet connections (w/o servers)
> Proto Recv-Q Send-Q Local Address           Foreign Address         State
>
>
> now, if I kill xinetd and run telnetd manually:
>
> root@localhost /root]# netstat -aAinet6
> Active Internet connections (servers and established)
> Proto Recv-Q Send-Q Local Address           Foreign Address         State
> tcp        0      0 *:telnet                *:*                     LISTEN
>
>
> and of cousre it now works.
>
> here is the config for telnet in xinetd
>
> # default: on
> # description: The telnet server serves telnet sessions; it uses \
> #       unencrypted username/password pairs for authentication.
> service telnet
> {
>         flags           = REUSE
>         socket_type     = stream
>         wait            = no
>         groups          = yes
>         server          = /usr/local/v6/sbin/in.telnetd
>         #server         = /usr/sbin/in.telnetd
>         log_on_failure  += USERID
>         disable         = no
> }
>
>
> -kirk
>
> On Sun, 31 Mar 2002, Yuji Sekiya wrote:
>
> > At Sat, 30 Mar 2002 07:15:40 -0800 (PST),
> > Kirk Bollinger <kirk@xxxxxxxxxxxxxxxxx> wrote:
> >
> > > I downloaded the latest and compiled with the --with-ipv6 option.
> >
> > Please check whether telnetd is listening on port 23 by netstat -aAinet6.
> > If it is not listening, your configuration is something wrong.
> >
> > -- Yuji Sekiya
> >
> >
>
>
>