[lug] Re: telnetting problems under Mandrake

Eric Peers eric_peers at yahoo.com
Thu May 1 13:56:27 MDT 2003


> Trying XXX.XXX.XX.X...
> 'var': unknown argument ('environ ?' for help).

I bet the daemon invocation is generating the var
problem. There's an interesting behavior going on it
your setup though - xinetd invokes tcpd invokes the
telnet server... If you just invoke the telnet server
directly, does it work?

have you looked at the logfiles in /var/log/messages?

do you have a bad line in your root
.kshrc/.bashrc/.login/.cshrc files that is exhibited
when you have a non-interactive login?

have you tried invoking the tcpd/telnet server by
hand? What's it say there?

on my redhat8 system...

crampon> more /etc/xinetd.d/telnet 
# 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
        user            = root
        server          = /usr/sbin/in.telnetd
        log_on_failure  += USERID
        disable         = yes
}

   --eric


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com



More information about the LUG mailing list